Update of bug #28237 (project findutils):

                  Status:               Need Info => Invalid                
             Assigned to:                    None => jay                    

    _______________________________________________________

Follow-up Comment #5:

The first sentence of the description of the egrep regular expresison type
says:

@node egrep regular expression syntax
@subsection @samp{egrep} regular expression syntax


The character @samp{.} matches any single character except newline.

Here the . just isn't matching the newline.   You might want to try
"-regextype posix-extended".

~/tmp/t$ find . -regextype posix-extended -regex '.*new.*' -print0 | od -c
0000000   .   /   n   e   w  n   l   i   n   e   
0000013
~/tmp/t$ find . -regextype egrep -regex '.*new.*' -print0 | od -c
0000000


    _______________________________________________________

Reply to this item at:

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

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


Reply via email to