I would like to use this regular expression new RegExp("\b"+pat+"\b") in greek text but the "\b" metacharacter supports only ASCII characters.
I tried XregExp library but i didnt manage to solve the issue.
Any suggestions would be greatly appreciated.