Bash regular expressions

Matthew Woehlke mw_triad@users.sourceforge.net
Tue Dec 19 22:20:00 GMT 2006


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/



More information about the Cygwin mailing list