[Python-Dev] Draft Guide for code migration and modernation
Patrick K. O'Brien
pobrien@orbtech.com
Tue, 4 Jun 2002 08:23:34 -0500
[Guido van Rossum]
> > Locating: grep "\[\w*-[0-9]*\w*:\w*\]" | grep "=="
> > grep "\[\w*:\w*[0-9]*\w*\]" | grep "=="
>
> Are these regexes really worth making part of the migration guide?
> \w* isn't a good pattern to catch an arbitrary expression, it only
> catches simple identifiers!
Doesn't that make a pretty good case for including (properly formed)
regexes?
---
Patrick K. O'Brien
Orbtech