Skip to content

Commit

Permalink
Fixing broken test, adding distribution files
Browse files Browse the repository at this point in the history
  • Loading branch information
eklem committed May 6, 2021
1 parent 0863e75 commit 25d4dce
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/words-n-numbers.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/words-n-numbers.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const wordsNumbersEmojis = '\\p{Alpha}+|\\p{Number}+|\\p{Emoji_Presentation}+'
// #tags, @usernames or email.addresses@example.com
const tags = '\\B[#][\\p{Alpha}|\\p{Number}]+'
const usernames = '\\B[@][\\p{Alpha}|\\p{Number}]+'
const email = '[0-9a-zA-Z!#$%&\'*+-/=?^_`{|}~.]+@[0-9a-zA-Z-.]+[a-zA-Z]'
const email = '[0-9a-zA-Z!#$%&\'*+-/=?^_`{|}~.]+@[0-9a-zA-Z-.]+[a-zA-Z0-9]'

// Default options object
const defaultOptions = {
Expand Down

0 comments on commit 25d4dce

Please sign in to comment.