Whittle it on down

Jussi Piitulainen jussi.piitulainen at helsinki.fi
Fri May 6 00:19:03 EDT 2016


Steven D'Aprano writes:

> On Fri, 6 May 2016 04:27 am, Jussi Piitulainen wrote:
>
>> Random832's pattern is fine. You need to use re.fullmatch with it.
>
> py> re.fullmatch
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> AttributeError: 'module' object has no attribute 'fullmatch'

It's new in version 3.4 (of Python).



More information about the Python-list mailing list