trexitycode / wirestate

MIT License
1 stars 0 forks source link

keyword "as" is incorrectly detected #6

Closed ako977 closed 5 years ago

ako977 commented 5 years ago

Considering that as is a keyword, it is illegal to include it in the event strings.

However it is too strict. The ideal detection of the keyword should be for a string that matches the following:

/\sas\s/

Currently it detects

/.*as.*/