[Python-ideas] PEP 8: raw strings & regular expressions
Henshaw, Andy
Andy.Henshaw at gtri.gatech.edu
Tue Oct 27 15:16:31 EDT 2015
On Monday, October 26, 2015 10:26 PM, Chris Angelico wrote
>
> On Tue, Oct 27, 2015 at 8:44 AM, Ben Finney
> <ben+python at 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
More information about the Python-ideas
mailing list