[issue19408] Regex with set of characters and groups raises error

Serhiy Storchaka report at bugs.python.org
Sat Oct 26 15:30:47 CEST 2013


Serhiy Storchaka added the comment:

>From re documentation:

"""Ranges of characters can be indicated by giving two characters and separating them by a '-', for example [a-z] will match any lowercase ASCII letter, [0-5][0-9] will match all the two-digits numbers from 00 to 59, and [0-9A-Fa-f] will match any hexadecimal digit. If - is escaped (e.g. [a\-z]) or if it’s placed as the first or last character (e.g. [a-]), it will match a literal '-'."""

A Python exception is not a crash. A crash is a Segmentation Fault (*nix) or 'Your program stopped unexpectedly' (Windows).

----------
nosy: +serhiy.storchaka
resolution:  -> invalid
type: crash -> 

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19408>
_______________________________________


More information about the Python-bugs-list mailing list