J
J. Cooper
Another newbie question:
I've just started learning about regex "officially" (reading the
O'reilly book) and was trying out some of the examples (porting them to
Ruby from Perl). From what I can tell, Ruby's regex engine doesn't
support "lookbehind", and as I had only a smattering of knowledge about
regex before and no prior experience with lookaround, I was curious if
this was significant.
i.e. is there any problem that can't be solved without lookbehind?
(Note that I am not facing such a problem; I'm just curious if
lookbehind is just an optional feature that makes certain problems
easier, as opposed to being an essential thing.)
Thanks!
I've just started learning about regex "officially" (reading the
O'reilly book) and was trying out some of the examples (porting them to
Ruby from Perl). From what I can tell, Ruby's regex engine doesn't
support "lookbehind", and as I had only a smattering of knowledge about
regex before and no prior experience with lookaround, I was curious if
this was significant.
i.e. is there any problem that can't be solved without lookbehind?
(Note that I am not facing such a problem; I'm just curious if
lookbehind is just an optional feature that makes certain problems
easier, as opposed to being an essential thing.)
Thanks!