Message149428
| Author |
dwt |
| Recipients |
dwt, ezio.melotti |
| Date |
2011年12月14日.08:13:44 |
| SpamBayes Score |
0.00048673621 |
| Marked as misclassified |
No |
| Message-id |
<1323850425.79.0.94934063883.issue13599@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
When looking at a regex with dir() you don't get all available attributes - which is inconvenient as some very important ones (like .pattern) are not visible.
To demonstrate:
> import re
> re.compile('foo').pattern
'foo'
> dir(re.compile('foo'))
['__copy__',
'__deepcopy__',
'findall',
'finditer',
'match',
'scanner',
'search',
'split',
'sub',
'subn'] |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年12月14日 08:13:45 | dwt | set | recipients:
+ dwt, ezio.melotti |
| 2011年12月14日 08:13:45 | dwt | set | messageid: <1323850425.79.0.94934063883.issue13599@psf.upfronthosting.co.za> |
| 2011年12月14日 08:13:45 | dwt | link | issue13599 messages |
| 2011年12月14日 08:13:44 | dwt | create |
|