From: rubix Rubix Date: 2011-11-22T07:55:01+09:00 Subject: Re: Regular expression match Thank you for your answer I am using this code to parse a text to search the first word and see if the word is one of the words of an array of strings and then increment an index with the size of the word to parse the rest of the text It is working good but when I try it with unicode characters, I obtain the letters of the first word and not the hole first word: str[/[\u0627-\u064A]+/,1] best regards, -- Posted via http://www.ruby-forum.com/.