bug-textutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problem with find -regex


From: Jeffrey Richardson
Subject: problem with find -regex
Date: Wed, 13 Dec 2000 17:32:24 -0500

I am attempting to use the -regex option of find to find files with
various extensions.
Does the -regex option support regular expressions with parentheses? It
seems not to.

If I use ".*\.c",  I get all the .c files.
If I use ".*\.tdl, I get all the the tdl files.
If I then try to get either using ".*\.(c|tdl)", I get nothing.
In fact, if I use ".*\.(tdl)", I get nothing.
As a cluge, I try ".*\.[ctdl]+", which get to many matches because it
matches *.t, *.td, *.d, etc.

Any suggestions?
Thank you,
Jeff Richardson

Attachment: jlrichardson.vcf
Description: Card for Jeffrey L Richardson


reply via email to

[Prev in Thread] Current Thread [Next in Thread]