Skip to content

Commit f49c75d

Browse files
committed
extend like patterns
1 parent a002b70 commit f49c75d

File tree

1 file changed

+1
-1
lines changed
  • stac_fastapi/sfeos_helpers/stac_fastapi/sfeos_helpers/filter

1 file changed

+1
-1
lines changed

stac_fastapi/sfeos_helpers/stac_fastapi/sfeos_helpers/filter/cql2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import re
44

5-
cql2_like_patterns = re.compile(r"\\\\|\\%|\\_|[%_]")
5+
cql2_like_patterns = re.compile(r"\\\\|\\%|\\_|\\[^%_\\]|[%_]")
66
valid_like_substitutions = {
77
"\\\\": "\\",
88
"\\%": "%",

0 commit comments

Comments
 (0)