how to use regexp assertion
like this in perl
/some_pattern(?=exp)/
On Apr 22, 2008, at 00:57 , smellcode wrote:
how to use regexp assertion
like this in perl
/some_pattern(?=exp)/
3q, but i mean
how to use (?<!exp) and (?<=exp)
in irb
undefined (?..) sequence:
/\d+(?<=\w)/http://data.movie.xunlei.com/movie/39224
Posted by Jeremy McAnally (Guest)
on 03.02.2008 07:02
Install the oniguruma gem.
gem install oniguruma
It requires the C lib (installable from ports), but is installed by
default with Ruby 1.9. It handles lookbehind.
I found this
has any method to do it more native??