New submission from zk <bsn...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue14806>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to