wingbot 3.68.3 → 3.68.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wingbot",
3
- "version": "3.68.3",
3
+ "version": "3.68.4",
4
4
  "description": "Enterprise Messaging Bot Conversation Engine",
5
5
  "main": "index.js",
6
6
  "type": "commonjs",
@@ -608,7 +608,7 @@ class CustomEntityDetectionModel {
608
608
  });
609
609
 
610
610
  if (options.matchWholeWords && !searchWithinWords) {
611
- replaced = `(?<=(^|[^a-z0-9\u00C0-\u017F]))${replaced}(?=([^a-z0-9\u00C0-\u017F]|$))`;
611
+ replaced = `(?<=(^|[^a-zA-Z0-9\u00C0-\u017F]))${replaced}(?=([^a-zA-Z0-9\u00C0-\u017F]|$))`;
612
612
  }
613
613
 
614
614
  const r = new RegExp(replaced, options.caseSensitiveRegex ? '' : 'i');