@raw_array[i]=~/[\W]/
Very simple regexp. When I try it with some non-latin letters (russian to be specific) condition is false.
What can I do with this?
@raw_array[i] =~ /[\p{L}]/
Tested with Cyrillic characters.
Reference: http://www.regular-expressions.info/unicode.html#prop
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With