[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"Regular Expression Objects" scanner method


I am trying to understand a program which use
a method named scanner on a re compiled object.

This program is named "Simple compiler" here:

But unfortunately it is not documented

nor here:

nor with help

import re
lex = re.compile("foo")

Help on built-in function scanner:

scanner(string, pos=0, endpos=2147483647) method of _sre.SRE_Pattern 

Does anybody know where to find a doc ?