3.6: LOCALE can be used only with bytes patterns and is not compatible with ASCII.
3.7: Compiled regular expression objects with the LOCALE flag no longer depend on the locale at compile time. Only the locale at matching time affects the result of matching.