expr

  1. A

    Solved expr(1) do not honor \+ regex

    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.
Back
Top