y-scope/clp

clp-s: Inifinite loop for queries with consecutive backslash and wildcard characters

Opened this issue · 0 comments

Bug

When using clp-s to search for a log-text with a wildcard query, if the query contains \* or \?, it runs into an infinite loop in get_bounds_of_next_potential_var.

CLP version

3e95aaf

Environment

MacOS 13.2.1

Reproduction steps

Compress the following log and run the query a: *He\*llo*, the program never terminates.

{"a": "Hello world?", "b": 1, "c":"*"}
{"a": "Hello *", "b": "?world"}