aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2014-12-03 23:51:15 +0000
committerArtur Malabarba <bruce.connor.am@gmail.com>2014-12-03 23:51:15 +0000
commit36e2c98f7c4b325ec5a4108b907f14ca77685fea (patch)
treeeabb36a6991f762b59e03f7c4f1565ab4ae4b583
parente753ec1b833a04a7204c8c8d3e22658f9996f1bb (diff)
Take any non-space
-rw-r--r--sx-question-print.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/sx-question-print.el b/sx-question-print.el
index 87255d7..11a3e11 100644
--- a/sx-question-print.el
+++ b/sx-question-print.el
@@ -352,7 +352,7 @@ E.g.:
(font-lock-add-keywords ;; Highlight usernames.
nil
`((,(rx (or blank line-start)
- (group-n 1 (and "@" (1+ (or (syntax word) (syntax symbol) (any ".-_")))))
+ (group-n 1 (and "@" (1+ (not space))))
symbol-end)
1 font-lock-builtin-face)))
;; Everything.