Cygwin bash regexp matching doesn't treat "\b" properly

aputerguy nabble@kosowsky.org
Tue Nov 24 22:29:00 GMT 2009


Just for the record, the following works:

[[ "$proc" =~ (^|[^0-9])$foo([^0-9]|$) ]] ; echo $?


where I use $foo to store the process number I am trying to match against
-- 
View this message in context: http://old.nabble.com/Cygwin-bash-regexp-matching-doesn%27t-treat-%22%5Cb%22-properly-tp26500158p26503082.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list