Skip to content
Snippets Groups Projects
Commit a4ebd764 authored by marihachi's avatar marihachi
Browse files

disallow a hashtag with only numbers

parent 553fb282
No related branches found
No related tags found
No related merge requests found
...@@ -341,7 +341,10 @@ hashtag ...@@ -341,7 +341,10 @@ hashtag
} }
hashtagContent hashtagContent
= (hashtagBracketPair / hashtagChar)+ { return text(); } = !([0-9]+ !hashtagContentPart) hashtagContentPart+ { return text(); }
hashtagContentPart
= hashtagBracketPair / hashtagChar
hashtagBracketPair hashtagBracketPair
= "(" hashtagContent* ")" = "(" hashtagContent* ")"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment