title: Javascript unicode (greek) regular expressions
body: <p>I would like to use this regular expression <strong>new RegExp("\b"+pat+"\b")</strong> in greek text but the "\b" metacharacter supports only ASCII characters.</p>
  
  <p>I tried <a href="http://xregexp.com/" rel="nofollow">XregExp</a> library but i didnt manage to solve the issue.</p>
  
  <p>Any suggestions would be greatly appreciated.</p>