in reply to Re: Any way to use "POSIX Extended Regular Expressions"?
in thread Any way to use "POSIX Extended Regular Expressions"?
But the OP asked for POSIX regular expressions. Which, except for syntax differences, actually behave differently:
Prints 'a' with Perl, but a POSIX style regexp engine would result in 'ab' being printed. With POSIX style, "longest" trumps "leftmost"."abc" =~ /.|../ && print $&;
|
|---|