Skip to content

Weird interaction with ~ and underscores in filters #1231

Answered by ganigeorgiev
DaniDipp asked this question in Q&A
Discussion options

You must be logged in to vote

This is a bug with the escaping of the underscore character. The ~ operator converts the expression to a "LIKE" SQL comparison and while we escape the underscore, since it has special meaning for 1 wildcard character, we are missing the ESCAPE expression and the query is trying to match the literal key\_. I'll fix it sometime later today.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ganigeorgiev
Comment options

@DaniDipp
Comment options

Answer selected by DaniDipp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants