diff options
| author | Scott Ostler <scottbot9000@gmail.com> | 2011-01-04 16:39:37 -0500 |
|---|---|---|
| committer | Scott Ostler <scottbot9000@gmail.com> | 2011-01-04 16:39:37 -0500 |
| commit | a5a3b7079531da5e8f0662fe223d18e3477599d9 (patch) | |
| tree | e19156a2ecb5516cb555b5c5fb037b68dfdd2758 /src/message.clj | |
| parent | 034acfa61c9f5667f11f43659c02eb9bae7e94f5 (diff) | |
Fix trim bug in topics
Diffstat (limited to 'src/message.clj')
| -rw-r--r-- | src/message.clj | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/message.clj b/src/message.clj index 9f1380b..5b3b66f 100644 --- a/src/message.clj +++ b/src/message.clj @@ -44,4 +44,4 @@ (defn get-topics [content] (set (for [r (re-seq topic-regex content)] - (lower-case (.substring r 1))))) + (lower-case (.substring (.trim r) 1))))) |
