D
Devin Jeanpierre
Hey Pythonistas,
Consider the regular expression "$*". Compilation fails with the
exception, "sre_constants.error: nothing to repeat".
Consider the regular expression "(?=$)*". As far as I know it is
equivalent. It does not fail to compile.
Why the inconsistency? What's going on here?
-- Devin
Consider the regular expression "$*". Compilation fails with the
exception, "sre_constants.error: nothing to repeat".
Consider the regular expression "(?=$)*". As far as I know it is
equivalent. It does not fail to compile.
Why the inconsistency? What's going on here?
-- Devin