Skip to content

Commit 6ca45b6

Browse files
authored
Merge pull request #60 from HarryKodden/master
Fix NUMBER parsing for numbers more than single digit :-)
2 parents 920c5c7 + 3a143d2 commit 6ca45b6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/scim2_filter_parser/lexer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def SUBATTR(self, t):
202202
FALSE = r"false"
203203
TRUE = r"true"
204204
NULL = r"null"
205-
NUMBER = r"[0-9]" # only support integers at this time
205+
NUMBER = r"[0-9]+" # only support integers at this time
206206

207207
# attrPath parts
208208
@_(r"[a-zA-Z]+:[a-zA-Z0-9:\._-]+:")

0 commit comments

Comments
 (0)