From 23b450e0002c1043fd292363beb1545fa1e3af55 Mon Sep 17 00:00:00 2001 From: Jonathan Kenyon Date: Thu, 28 Nov 2024 15:23:31 +0200 Subject: [PATCH] Attempt to update regex. --- Tigger/bin/tigger_tag.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tigger/bin/tigger_tag.py b/Tigger/bin/tigger_tag.py index dabbfba..f4cc905 100644 --- a/Tigger/bin/tigger_tag.py +++ b/Tigger/bin/tigger_tag.py @@ -257,7 +257,7 @@ def lookupObject(src, tagname): for arg in rem_args[1:]: # Match either the SELTAG<>SELVAL, or the TAG=[TYPE:]VALUE, or the [+!/]TAG forms # If none match, assume the NAME form - mselcomp = re.match("^(?i)([^=<>!.]+)(%s)([^dms]+)([dms])?" % "|".join( + mselcomp = re.match("(?i)^([^=<>!.]+)(%s)([^dms]+)([dms])?" % "|".join( [key.replace('.', '\.') for key in list(select_predicates.keys())]), arg) mseltag = re.match("=(.+)$", arg) mset = re.match("^(.+)=((bool|int|str|float|complex):)?(.+)$", arg)