Let HST require at least one letter
(as in mastodon)
Change-Id: I2be91a30a6803933dd64d6a789fc28501ae18632
diff --git a/src/index.js b/src/index.js
index 148ff52..ce45a04 100755
--- a/src/index.js
+++ b/src/index.js
@@ -1,7 +1,7 @@
#!/usr/bin/env node
const emoticonRegex = /^(\:\w+\:|\<[\/\\]?3|[\(\)\\\D|\*\$][\-\^]?[\:\;\=]|[\:\;\=B8][\-\^]?[3DOPp\@\$\*\\\)\(\/\|])(?=\s|[\!\.\?]|$)/;
-const hashtagRegex = /^#[a-zA-Z0-9]+/;
+const hashtagRegex = /^#[a-zA-Z0-9]*[a-zA-Z][a-zA-Z0-9]*$/;
const urlRegex = /^(ftp|http)s?:\/\/[^\s]+/;
const emailRegex = /^\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z|a-z]{2,}\b/;
const addressRegex = /^@[a-zA-Z0-9]+/;