This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Bash regular expressions
- From: Matthew Woehlke <mw_triad at users dot sourceforge dot net>
- To: cygwin at cygwin dot com
- Date: Tue, 19 Dec 2006 15:00:26 -0600
- Subject: Re: Bash regular expressions
- References: <45884F6E.5070701@yandex.ru>
Boris Toloknov wrote:
It seems that regular expressions [[ str =~ regex ]] do not work in bash.
For example the following expression doesn't match:
[[ abc =~ 'a.*c' ]] && echo It works
while the simple substring matches:
[[ abc =~ 'bc' ]] && echo It works
Is it a bug ?
WJFFM. Maybe you should start with:
Problem reports: http://cygwin.com/problems.html
--
Matthew
This message is non-smoking
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/