Follow-up Comment #3, bug #28237 (project findutils):

sorry... maybe i'm on error... this is a very simple example

$ mkdir new$'n'line
$ touch new$'n'line/new$'n'line

I have created one directory and one file with a newline inside the name

$ find . -name "new*"
./new?line
./new?line/new?line

find finds both, dir and file, as expected


$ find . -regextype egrep -regex ".*new.*"

find finds nothing...
but I expected find finds the same as above


$ find . -regextype egrep -regex ".*[[:cntrl:]].*"
./new?line

using [[:cntrl:]] find finds the directory, but it does not descend on it

again, I expected as above



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?28237>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



Reply via email to