Benjamin Peterson <[EMAIL PROTECTED]> added the comment:
I think it's debatable whether re should byte strings since it is
searching through text and not raw binary data. However, this may be a
case of practicality over purity.
--
nosy: +benjamin.peterson
___
New submission from Stefan Behnel <[EMAIL PROTECTED]>:
The following fails in Py3.0a5:
>>> import re
>>> re.search(b'(\d+)', b'-2.80 98\n')
I get a TypeError: "Can't convert 'int' object to str implicitly" in
line 204 of file "sre_parse.py", code being "char = char + c".
--
com