Possible Bug with Text.CONTAINS_REGEX & token toLowerCase

Hello, I think their is a bug with predicate textContainsRegex, during CloseableIterator "retainIfTrue.test(element)", element are filtered if they don't satisfies conditions.

I have a vertex with property "firstName->Martine", while searching with this regex "Martin.?", ES found my vertex but while filtering to check other conditions (vertex status is active), regex is evaluated again and is returning false because value is tokenized in lower case while regex is case sensitive.
image.png
image.png
Was this page helpful?