in reply to Re^5: eval to replace die?
in thread eval to replace die?
Should we scrap regexes all together?
How do you go from "Converting structured information to strings, then using regular expressions to attempt to extract structured information is fragile" to "Don't use regular expressions"?
Or just $@ =~ /^Uninitialised variable/ to match just the invariant part of the error.
Invariants often aren't. See also theory's comment about localizing Bricolage.
And you've never had to restructure your exceptions?
Of course I have. Code changes. Changing regular expressions used for control flow because data has changed is different.