30 Jul
2016
30 Jul
'16
12:12 p.m.
Hello! Today I noticed that I can successfully use the following regular expression inside XQuery but the same regexp fails when using it in the GUI's searchboxes (the ones appearing when pressing Ctrl+F) when enabling regular expression search. This is the regular expression and probably it is the block escape that is causing the error: (¹|²|³|\p{IsSuperscriptsandSubscripts}) The error message says: "Regular Expression: java.util.regex.PatternSyntaxException: Unknown character property name {issuperscriptsandsubscripts} near index 37" Probably the lowercaseing of the block escape name is causing the error and hopefully it can be fixed without too complex logics. Best regards Kristian K