Follow-up Comment #4, bug #42501 (project findutils): I would also love to see -E added to GNU find.
[comment #3 comment #3:] > I'm happy to implement this option as long as we can nail down which regex dialect -E should select. Is there any chance you could provide more detail on your answer to question 1, perhaps by performing some experiments? That should be equivalent to -regextype posix-extended The idea is that it makes it consistent with grep -E, sed -E, etc. Note that BSD find -regex, without -E, expects POSIX basic regexps like grep or sed, while GNU find expects some ancient form of emacs regexps. Those can't be reconciliated at the moment. Some implementations of sed and grep (namely the ast-open one) support -G / --basic-regexp to explicitly request basic regexps. So maybe we could convince the maintainers of GNU and BSD find to support that -G as well to enable basic regex. -P, for perl-like regexps (for instance via pcre) would also be welcome as they've become the new de-facto standard for regexps these days. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?42501> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/