aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2017-10-01 13:40:31 -0700
committeriximeow <me@iximeow.net>2017-10-01 13:40:31 -0700
commit5bbbeb56aaf44a362b61736c3b6a65480bf4a8ac (patch)
tree96e8cafb002e42611375465aad2373180e5bb67b
parent91ab935393e84f878e95176c4af1b4d0e19e9c21 (diff)
try to make handle detection work for words
-rw-r--r--main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.rs b/main.rs
index 84a51fb..8be302c 100644
--- a/main.rs
+++ b/main.rs
@@ -283,7 +283,8 @@ mod tw {
'@', '#', '$', '%', '^',
'&', '*', '(', ')', '-',
'=', '{', '}', '|', ':',
- '"', '<', '>', '?', '`'
+ '"', '<', '>', '?', '`',
+ ' ' // forgot this initially. awkward.
][..])
.filter(|x| x.starts_with("@") && x.len() > 1)
.collect()