Specifically, I’m using the Linux command:
$ find . -regextype posix-extended -regex '<some regex>' ...
I just want to make sure the POSIX type I’m using is the type Perl uses, since that is by far the one I am most familiar with.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Perl’s regexes are more like the Posix extended ones. Basic posix regular expressions use
(and{to match the actual characters, and\(and\{as special characters, but the Posix extended ones use(and{for the same meaning as in Perl and\(or\{to match the actual characters, the same as Perl. So posix-extended is what you want.