Hello,
On Freebsd 14.1-Release, I tried expr "Hello 7.1" : '.* \([.0-9]\+\)'
which returns empty string, while \+ replaced by * returns 7.1.
The man page says expressions should be basic regular expression, and I found that \+ is. Is it a bug? A mistakes I did? Thanks for your help.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.