Skip to content

Commit 29b2e16

Browse files
committed
Fixed parsing of @ symbol, without command.
1 parent 312d8f3 commit 29b2e16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Token.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ static auto regexes = {
4242

4343
std::make_pair(SENTENCE, std::regex("[.!?]")),
4444
std::make_pair(WHITESPACE, std::regex("\\s+")),
45-
std::make_pair(WORD, std::regex("[^@\\s\\*/]+")),
45+
std::make_pair(WORD, std::regex("[^\\s\\*/]+")),
4646
std::make_pair(STAR, std::regex("\\*")),
4747
std::make_pair(SLASH, std::regex("/"))
4848
};

0 commit comments

Comments
 (0)