overnord / aml

Simple parser for the AML Markup Language.

Clone this repository (size: 162.6 KB): HTTPS / SSH
$ hg clone http://bitbucket.org/overnord/aml/
commit 73: ed4f7dc2f1d8
parent 72: ea894d87acd1
branch: default
fixed wildcard-bug
Björn Schulz / overnord
8 months ago

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'|(\w+)|#(t|f|n)|"([^"\\]*(?:\\.[^"\\]*)*)"'
13
                          r'|([\w*]+)|#(t|f|n)|"([^"\\]*(?:\\.[^"\\]*)*)"'
14
14
                          r"|'([^'\\]*(?:\\.[^'\\]*)*)'|([\/\[\]=;@])|\s+"),
15
15
                         src, re.UNICODE):
16
16
        if m.lastindex: