You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I'm not sure if it's worth a pull request, but here's a modified version of your Swear Words rule that uses regular expressions to add plural forms and support multiple spaces between words. The "?" operator makes the last match or character optional. The pattern "books?", for example, matches either "book" or "books". The "\s" matches whitespace characters such as space, tab, etc. The "+" operator makes the last pattern or character match one or more occurrences. Combining these together gives you "\s+" which matches one or more whitespace characters.
Hello,
I'm not sure if it's worth a pull request, but here's a modified version of your Swear Words rule that uses regular expressions to add plural forms and support multiple spaces between words. The "?" operator makes the last match or character optional. The pattern "books?", for example, matches either "book" or "books". The "\s" matches whitespace characters such as space, tab, etc. The "+" operator makes the last pattern or character match one or more occurrences. Combining these together gives you "\s+" which matches one or more whitespace characters.
The text was updated successfully, but these errors were encountered: