Previous versions of find used the Emacs syntax for regexps.

Andreas.

2005-06-26  Andreas Schwab  <[EMAIL PROTECTED]>

        * find/parser.c (insert_regex): Switch back to Emacs regexp
        syntax to remain comatible with previous versions.

--- find/parser.c       2005/06/26 08:46:56     1.5
+++ find/parser.c       2005/06/26 08:46:57
@@ -1408,7 +1408,7 @@ insert_regex (char **argv, int *arg_ptr,
   struct predicate *our_pred;
   struct re_pattern_buffer *re;
   const char *error_message;
-  int opt = RE_SYNTAX_POSIX_BASIC;
+  int opt = RE_SYNTAX_EMACS;
 
   if ((argv == NULL) || (argv[*arg_ptr] == NULL))
     return (false);

-- 
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


_______________________________________________
Bug-findutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-findutils

Reply via email to