[issue35146] Bad Regular Expression Broke re.findall()

Dan Boxall report at bugs.python.org
Fri Nov 2 09:59:25 EDT 2018


Dan Boxall <dboxall at l3mtechnologies.com> added the comment:

Thank you.  I realised that and if I put a dot in front it worked fine.
But it should not break the function, so they will surely want to fix the
bug?

Kind regards,
Dan Boxall

On Fri, 2 Nov 2018 at 13:56, Windson Yang <report at bugs.python.org> wrote:

>
> Windson Yang <wiwindson at gmail.com> added the comment:
>
> The last line "re.error: nothing to repeat at position 0" shows that you
> should not put raw * as the first element, use \* instead.
>
> ----------
> nosy: +Windson Yang
>
> _______________________________________
> Python tracker <report at bugs.python.org>
> <https://bugs.python.org/issue35146>
> _______________________________________
>

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35146>
_______________________________________


More information about the Python-bugs-list mailing list