problem with re module

Fredrik Lundh fredrik at pythonware.com
Sun Oct 21 17:06:00 EDT 2001


Markus Jais wrote:
> when I put it in a file:
>   File "./re.py", line 4, in ?
>     p = re.compile('ab*')
> AttributeError: 're' module has no attribute 'compile'

try changing the name of your test script...

</F>

<!-- (the eff-bot guide to) the python standard library:
http://www.pythonware.com/people/fredrik/librarybook.htm
-->







More information about the Python-list mailing list