|
From: | lxnf98mm |
Subject: | Re: [Help-bash] perl regex in bash |
Date: | Mon, 18 Mar 2013 09:42:39 -0500 (CDT) |
User-agent: | Alpine 2.00 (LRH 1167 2008-08-23) |
On Sat, 16 Mar 2013, Peng Yu wrote:
Hi, I find PCRE, which might be an alternative to POSIX regex to be included in bash. http://en.wikipedia.org/wiki/Perl_Compatible_Regular_Expressions On Sat, Mar 16, 2013 at 10:17 AM, Peng Yu <address@hidden> wrote:Hi, It seems that bash only accept POSIX regex as stated in regex(3). Is there a way to allow perl regex in bash. In particular, I want to use (?:...) as defined in perl.
grep -P
[Prev in Thread] | Current Thread | [Next in Thread] |