This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2012年05月14日 12:50 by zk, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Messages (3) | |||
|---|---|---|---|
| msg160615 - (view) | Author: zk (zk) | Date: 2012年05月14日 12:50 | |
>>> 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'>
|
|||
| msg160617 - (view) | Author: Ezio Melotti (ezio.melotti) * (Python committer) | Date: 2012年05月14日 12:52 | |
re.match matches only at the beginning of the string. |
|||
| msg160624 - (view) | Author: zk (zk) | Date: 2012年05月14日 13:37 | |
Oops. Sorry. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:30 | admin | set | github: 59011 |
| 2012年05月14日 13:37:49 | zk | set | messages: + msg160624 |
| 2012年05月14日 12:52:09 | ezio.melotti | set | status: open -> closed assignee: ezio.melotti components: + Regular Expressions, - 2to3 (2.x to 3.x conversion tool) nosy: + ezio.melotti, mrabarnett messages: + msg160617 resolution: not a bug stage: resolved |
| 2012年05月14日 12:50:23 | zk | create | |