Skip to content

Regex: workaround for variable length negative lookbehind

1 message · Joris Meys

#
On Sun, Nov 30, 2008 at 9:59 PM, Stefan Evert <stefan.evert at uos.de> wrote:

            
Honestly, I believe there are cases you shouldn't, i.e. when other
people have to read your program. But otherwise I do like the power of
perl's regular expressions. They are really a help if you have to work
with string data (e.g. with DNA sequences and the likes) and do
statistics on them.

The only reason to avoid them is if they would be significantly slower
than the R code. I have not tried it out, so I have no clue about
that.

Kind regards
Joris