Skip to content
Snippets Groups Projects

better reaction tokenization

Merged Stephen D requested to merge reaction_fixes into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -42,7 +42,7 @@ impl LineHandler for ReactHandler {
.content
.chars()
.map(|c| match c {
'!' | '?' | ',' | '.' => ' ',
'!' | '?' | ',' | '.' | '(' | ')' | '[' | ']' | '\n' | '\r' => ' ',
_ => c,
})
.group_by(|c| *c == ' ');
Loading