From: hemant Date: 2006-12-06T15:07:28+09:00 Subject: Re: doubt with positive lookaround On 12/6/06, James Edward Gray II wrote: > On Dec 5, 2006, at 12:58 PM, danfinnie@optonline.net wrote: > > > There are a few types of "lookarounds": positive lookahead, > > negative lookahead, positve lookbehind, negative look behind. > > > > To use positive lookbehind, you would use (?<=...). Ruby might be > > interpreting ?=< as ?<=. Try escaping the < by adding a \ before it. > > The regex engine in Ruby 1.8 does not support look-behind > assertions. The regex engine in 1.9, Oniguruma, does. Yup James I am aware of that. I was blind enough to not see my silly mistake. Thanks -- There was only one Road; that it was like a great river: its springs were at every doorstep, and every path was its tributary.