On 2005-06-27 James Youngman <[EMAIL PROTECTED]> wrote: > On Sun, Jun 26, 2005 at 10:55:38AM +0200, Andreas Schwab wrote: > > Previous versions of find used the Emacs syntax for regexps.
> ... but if I recall correctly the documentation said the syntax was > POSIX BRE. Actually it says | by default, Gnulib provides ‘‘basic’’ regular expressions. and in http://savannah.gnu.org/bugs/index.php?func=detailitem&item_id=4298 you said | find(1) uses Gnulib's default re_match() implementation which provides | "basic" regular expressions. I have updated the manual page in the CVS | code to reflect this, and sent an email to bug-findutils asking if we | should follow POSIX regexps instead. If the answer is yes, I will | raise a separate bug. > So there is also the issue of which bit to fix. I'd vote for compability. thanks, cu andreas -- [EMAIL PROTECTED]:/tmp/findtest$ find . ./*b ./*b/file [EMAIL PROTECTED]:/tmp/findtest$ /tmp/find-regex-patch ./ -regextype \ posix-basic -regex '*b/file' [EMAIL PROTECTED]:/tmp/findtest$ _______________________________________________ Bug-findutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-findutils
