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).
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to