From 3a143d2ffffa0666f6570c813175ef47f0a0a6a2 Mon Sep 17 00:00:00 2001 From: Harry Kodden Date: Fri, 4 Apr 2025 14:25:50 +0000 Subject: [PATCH] Fix NUMBER parsing for numbers more than single digit :-) --- src/scim2_filter_parser/lexer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scim2_filter_parser/lexer.py b/src/scim2_filter_parser/lexer.py index 538549e..32b80bf 100644 --- a/src/scim2_filter_parser/lexer.py +++ b/src/scim2_filter_parser/lexer.py @@ -202,7 +202,7 @@ def SUBATTR(self, t): FALSE = r"false" TRUE = r"true" NULL = r"null" - NUMBER = r"[0-9]" # only support integers at this time + NUMBER = r"[0-9]+" # only support integers at this time # attrPath parts @_(r"[a-zA-Z]+:[a-zA-Z0-9:\._-]+:")