[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Book questions



On Thu, Apr 09, 2015 at 03:28:24PM +0200, Petter Adsen wrote:
> On Thu, 9 Apr 2015 08:32:38 -0400
> Dan Ritter <dsr@randomstring.org> wrote:
> 
> > 'man perlre' (perl regular expressions) is a good reference in
> > most cases; more so if you're actually using perl, of course.
> 
> It's been a long time since I used perl regularly, but it might come in
> handy as an online reference. Are perl regular expressions "compatible"
> with the ones used by grep/sed/awk, etc? I think I remember reading
> that there are differences between them?

There are differences between them; perl expands on the basic
regexp system in some interesting and useful ways. So useful,
in fact, that many packages implement perl regexps as a matter
of course via libpcre -- the Perl Compatible Regular Expression
library.

-dsr-


Reply to: