Skip to content
This repository has been archived by the owner on Feb 26, 2021. It is now read-only.

Commit

Permalink
Fix #271, require whitespace between slots and previous word
Browse files Browse the repository at this point in the history
  • Loading branch information
ianb committed Sep 18, 2019
1 parent 79ed5b5 commit ac3111a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extension/background/intentParser.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ this.intentParser = (function() {
.join("|");
regex += `(${entityRegex})`;
} else {
regex += "(.+?)";
regex += "( .+?)";
slots.push(slot);
}
} else if (toParse.startsWith("(")) {
Expand Down

0 comments on commit ac3111a

Please sign in to comment.