Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • 2
    I knew just a perl invocation of regex to support lookbehind (negative included). I have met it in grep with -P option but not sure for find and other command. Format of expressions you can find in man pcre. But I am sure that for more cases there are many ways to omit pcre usage in find or somewhere else. Commented Feb 5, 2015 at 19:27
  • 3
    more information on the "regextype" types at gnu.org/software/gnulib/manual/html_node/… Commented Feb 5, 2015 at 21:05
  • Wikipedia! Also, Why does my regular expression work in X but not in Y? for an overview. Commented Feb 6, 2015 at 22:20
  • @Gilles That is a good chart, but does it distinguish between the -regextype options for find? The man page lists "emacs (this is the default), posix-awk, posix-basic, posix-egrep and posix-extended". Commented Feb 8, 2015 at 18:24