optional arguments to pattern.findall()
Peter Otten
__peter__ at web.de
Wed May 5 02:27:51 EDT 2004
Ezequiel, Justin wrote:
> In a thread with subject RE: Difficulty Finding Python Developers, Bill
> Anderson wrote:
>>foo = re.compile(regex)
>>foo.findall(stringtosearchon,0,50)[-1]
>
> Where can I find documentation on the optional arguments to findall()?
> Have gone to http://python.org/doc/current/lib/module-re.html and did
> not find any mention of these.
In Python 2.3.3 you have to dig to the C source to find the pos/endpos
parameters. You might file a bug to see if this is intentional.
Peter
More information about the Python-list
mailing list