From: Robert Klemme Date: 2009-09-05T02:21:54+09:00 Subject: Re: Oniguruma: Different result in ruby 1.9.1 and 1.8.7 On 04.09.2009 16:45, Miguel Teixeira wrote: > The problem is that in ruby 1.8.7 is impossible (?) to use string method > with oniguruma (the default regular expression engine is different). Apparently you are not getting my point - maybe I wasn't clear enough. I suggested to *create* the regular expression via a String, i.e. Regexp.new(s) and Oniguruma::ORegexp.new(s). > The differences that i observe is the match's for the cases where the > (created|developed) and (in|at) groups should be matched. What difference do you observe? You are not really providing much information to answer your question. You could do yourself a favor and simply post a script or IRB session showing the different behavior. http://catb.org/~esr/faqs/smart-questions.html Cheers robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/