Revision 4085
Added by Aaron Marcuse-Kubitza over 12 years ago
xpath.py | ||
---|---|---|
197 | 197 |
if parser.str_('"'): |
198 | 198 |
value = parser.re(r'[^"]*') |
199 | 199 |
parser.str_('"', required=True) |
200 |
else: value = parser.re(r'(?:(?:\w+:)*[\w.*]+)?') |
|
200 |
else: value = parser.re(r'(?:(?:\w+:)*[\w.+*]+)?')
|
|
201 | 201 |
return value |
202 | 202 |
|
203 | 203 |
def _paths(): |
Also available in: Unified diff
xpath.py: parse(): _value(): Support '+' as a word character that doesn't need to be quoted