| commit 73: | ed4f7dc2f1d8 |
| parent 72: | ea894d87acd1 |
| branch: | default |
fixed wildcard-bug
Changed (Δ3 bytes):
raw changeset »
aml/path/scanner.py (1 lines added, 1 lines removed)
Up to file-list aml/path/scanner.py:
| … | … | @@ -10,7 +10,7 @@ import re |
10 |
10 |
|
11 |
11 |
def Scanner(src): |
12 |
12 |
for m in re.finditer((r'([-+]?(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][-+]?\d+)?)' |
13 |
r'|( |
|
13 |
r'|([\w*]+)|#(t|f|n)|"([^"\\]*(?:\\.[^"\\]*)*)"' |
|
14 |
14 |
r"|'([^'\\]*(?:\\.[^'\\]*)*)'|([\/\[\]=;@])|\s+"), |
15 |
15 |
src, re.UNICODE): |
16 |
16 |
if m.lastindex: |
