Skip to content

Commit

Permalink
Fixes a regex typo
Browse files Browse the repository at this point in the history
  • Loading branch information
geongeorge committed Aug 30, 2020
1 parent 259ac92 commit 7b588cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/regex/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,7 @@
"title": "hashtag",
"tagline": "matches a social media hashtag",
"description": "Hashtags are metadata tags used on social networks that categorizes the content of the post",
"regex": "#[^ !@#$%^&*(),.?\":{}|<>]*",
"regex": "^#[^ !@#$%^&*(),.?\":{}|<>]*$",
"flag": "gmi",
"matchText": [
"#Hello",
Expand Down

0 comments on commit 7b588cc

Please sign in to comment.