[sf-perl] grep -P
David Fetter
david at fetter.org
Wed Jan 6 13:35:49 PST 2010
On Wed, Jan 06, 2010 at 01:31:45PM -0800, David Alban wrote:
> eh... mah... gawd... !
>
> from the grep man page on a red hat enterprise linux machine:
>
> -P, --perl-regexp
> Interpret PATTERN as a Perl regular expression.
>
> wonder how long that's been there without me knowing about it.
Probably PCRE, which is great for biting yourself on the butt just
when you thought you were safe to use all of Perl's regex. :P
Cheers,
David.
--
David Fetter <david at fetter.org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david.fetter at gmail.com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics
Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate
More information about the SanFrancisco-pm
mailing list