Replies: 1 comment
-
Hello @ghevge , You should be able to use
This may be off-topic, but the regular expression looks useless as you use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to dynamically create regex expressions in mybatis xml mappers?
I'm trying to create a dynamic regex to be used in a query from within an xml mapper. Something on this line:
Obviously the way I've shown above doesn't work.
I've also tried to use the bind pattern approach but without luck.
Do you have any suggestion?
The resulting regex pattern should be
'^[\s]{0,}my content here[\s]{0,}$'
Thanks
Beta Was this translation helpful? Give feedback.
All reactions