Why it does NOT work on Linux ?
fredrik at pythonware.com
Fri Feb 8 09:04:26 CET 2002
Steve Holden wrote:
> > Ladislav's use of findall works, but this feature of re.findall()
> > is not documented and should be avoided, as undocumented features
> > have been known to disappear.
> Nonsense. The function interface continues to be a fully-documented part of
> the re module.
that's not what Jason was talking about: he pointed out that the
original code passed a compiled pattern object, not a string, as the
first argument to re.findall.
> You are apparently confusing
> (the re module contents description, which describes the functional
> interface to regular expressions) with
> (the method descriptions for re objects). It may not be the way *you* do it,
> but that doesn't mean it's not documented <wink>.
where does the documentation say that the "pattern" argument to
re.findall can be either a string or a compiled pattern?
More information about the Python-list