[Tutor] Regex ^$ not behaving as expected

Danny Yoo dyoo at hashcollision.org
Thu Dec 8 12:03:49 EST 2016


> I'm still somewhat confused as to what the regexp module is doing when
> passing a non-numeric count parameter.  That looks like it should
> raise a TypeError to me, so perhaps someone needs to file a bug
> against the standard library?  Unsure.


Ok, I'm filing a bug to the Python developers so that hopefully this
gets fixed soon.  For reference:

    http://bugs.python.org/issue28905


Hope this helps!


More information about the Tutor mailing list