in reply to Perl regex to POSIX

On the third hand ... it might also be adequate to simply *not cover* the general case.

Change all the easy stuff (like \s, \w, etc.) into their POSIX equivalents, and just balk at any (?...) cases you don't cover. Unless you have very perl-literate users, that might be good enough.

Professional software development tip: say you'll cover those cases "in a future release", but then never do it. By the time the future arrives, you'll probably have moved on to greener pastures! :)

Replies are listed 'Best First'.
Re^2: Perl regex to POSIX
by Sifmole (Chaplain) on Feb 07, 2007 at 02:14 UTC
    This tends to only work when you work for people that don't know software. Unfortunately, I work for people that actually understand what we do; and they know this trick as well.