|
From: | John Kearney |
Subject: | Re: [Help-bash] perl regex in bash |
Date: | Mon, 18 Mar 2013 21:19:16 +0100 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 |
Am 16.03.2013 16:17, schrieb Peng Yu:
Just say what you want to do and we'll tell you how to do it best in bash.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. There is very little that you can't do in bash, and worst case sed/awk. depending on what you want to do you could even use perl in bash. |
[Prev in Thread] | Current Thread | [Next in Thread] |