1 Dec 10:22
Re: Regex: workaround for variable length negative lookbehind
From: joris meys <jorismeys <at> gmail.com>
Subject: Re: Regex: workaround for variable length negative lookbehind
Newsgroups: gmane.comp.lang.r.general
Date: 2008-12-01 09:22:51 GMT
Subject: Re: Regex: workaround for variable length negative lookbehind
Newsgroups: gmane.comp.lang.r.general
Date: 2008-12-01 09:22:51 GMT
On Sun, Nov 30, 2008 at 9:59 PM, Stefan Evert <stefan.evert <at> uos.de> wrote: > Still, I think it's better to write a few lines of R code than to abuse > regular expressions to do something they were never intended to do. How do > other people on this list feel about that issue? > 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 > Sorry again, and next time I'll trink a cup of coffee _before_ I post! > Stefan > > ______________________________________________ > R-help <at> r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > ______________________________________________(Continue reading)
RSS Feed