Project

General

Profile

« Previous | Next » 

Revision 4085

xpath.py: parse(): _value(): Support '+' as a word character that doesn't need to be quoted

View differences:

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