cygwin/regex is non-POSIX

Peter J. Acklam
Tue Jan 20 10:35:00 GMT 2004 wrote.
> Finally, a common extension appears to be the use or "?" after
> a repetition specification to mean non-greedy matching, e.g.
> "a+?" will match only the first "a" in "aaaa".

Just a small historical note:  This extension first appeared in
Perl some 10+ years ago.  It is used after the quantifiers ?, *,
+, and {m,n} to get "non-greedy" or "minimal" matching.  The
extension became popular and now implemented in several regex


Peter J. Acklam - -

Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list