[New-bugs-announce] [issue14806] re.match does not match word '{'
zk
report at bugs.python.org
Mon May 14 14:50:28 CEST 2012
New submission from zk <bsnxff at gmail.com>:
>>> type(re.match('{', 'aaaa{'))
<type 'NoneType'>
>>> type(re.match('\{', 'aaaa{'))
<type 'NoneType'>
>>> type(re.search('\{', 'aaaa{'))
<type '_sre.SRE_Match'>
>>> type(re.search('{', 'aaaa{'))
<type '_sre.SRE_Match'>
----------
components: 2to3 (2.x to 3.x conversion tool)
messages: 160615
nosy: zk
priority: normal
severity: normal
status: open
title: re.match does not match word '{'
type: behavior
versions: Python 2.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14806>
_______________________________________
More information about the New-bugs-announce
mailing list