
Oct. 27, 2015
7:16 p.m.
On Monday, October 26, 2015 10:26 PM, Chris Angelico wrote
On Tue, Oct 27, 2015 at 8:44 AM, Ben Finney <ben+python@benfinney.id.au> wrote:
You seem to be seeking something else: a pattern that matches all valid regex patterns, *and* will never match any string that is not a valid regex pattern. The latter is rather more difficult.
"Rather more difficult" may be an understatement...
Indeed, in fact I think that Gödel's Incompleteness Theorem applies here. Andy Henshaw