Fix regexp for locale param in namespace