Regexp error (with non-latin symbols) #351