forked from coala/corobo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
labhub: Change regex pattern for 'invite_cmd'
The original file used regex with '\s*' responsible for matching 0 or more whitespaces and led to matches like 'invite @userto developers' as there are 0 backspaces between '@user' and 'to'. With '\s+' atleast 1 whitespace is required for the regex to match such commands. Added a test to verify. Fixes coala#512
- Loading branch information
1 parent
2cdd906
commit ec45229
Showing
2 changed files
with
3 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters