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

Re: Book questions



Am 09.04.2015 um 15:28 schrieb Petter Adsen <petter@synth.no>:

> 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?

The most popular regular expression dialects are:

- basic
- extended
- Perl

Start by reading man grep on your Unix/Linux-console.

"Mastering regular expressions“ by Jeffrey Friedl gives a good overview and covers other dialects as well.

Helmut Wollmersdorfer

Reply to: