aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Wortman <ixineeringeverywhere@gmail.com>2017-10-01 13:40:31 -0700
committerAndy Wortman <ixineeringeverywhere@gmail.com>2017-10-01 13:40:31 -0700
commitaf67981a2a1c28b3b5598f74d48bfd3a7490c91a (patch)
tree96e8cafb002e42611375465aad2373180e5bb67b
parent043543cb01ace053d8b88579d6ee4d329c31c22c (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()