JanusGraphJ
JanusGraphโ€ข3y agoโ€ข
6 replies
criminosis

Case Insensitive TextRegex?

Is there a way to convey a text insensitivity to a
textRegex
Regex without doing a per character index enumeration of casing?

E.g. I'd normally make a regex like "(?i)foobar" (or pass to an explicit flags parameter in the regex builder) to match FOOBAR, Foobar, etc. But it seems like I have to do
textRegex("[Ff][Oo][Oo][Bb][Aa][Rr]")
to proxy that functionality?
Was this page helpful?