Attached, is version 1.4 of expand_regex.pl. Notable changes are:

- improved handling of bracketed regex's in situation like ( (  )? ) where
the previous
  version did not deal with nested balanced expressions correctly

- added a -lint option which will run the most helpful warning options.

- added -warn=b for those who want to check that their patterns begin and
end
  with '\b'.

I plan on only making small bug fixes at this point, but will work to ensure
that the latest version is on either the exit0 or SA Wiki page. A more
robust program
would have to understand and parse the full syntax of a Perl regex, and that
is beyond the scope of this simple tool. Hopefully, the current level of
function will prove useful for now.

Attachment: expand_regex.pl
Description: Binary data

Reply via email to