in reply to differnce between egrep and perl regex ?
Perl regexs are a superset of egrep, and the extensions perl offers use syntax that is illegal as an egrep regex, according to what I see about egrep in SUSv3. (The only possible exception is that, while SUSv3 does allow the {2}, {2,}, and {1,2} quantifiers, it doesn't specify that a ? afterward has any special meaning, as it does in perl.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: differnce between egrep and perl regex ?
by Random_Walk (Prior) on Oct 12, 2004 at 13:41 UTC | |
by ysth (Canon) on Oct 12, 2004 at 13:55 UTC |