From: Michael Orlitzky Date: Sun, 11 Dec 2011 14:40:00 +0000 (-0500) Subject: Escape an '@' in a Haddock comment. X-Git-Url: http://gitweb.michael.orlitzky.com/?p=dead%2Fhalcyon.git;a=commitdiff_plain;h=85aa472950924557e80b793303d9b6dee0261c7c Escape an '@' in a Haddock comment. --- diff --git a/src/Twitter/Status.hs b/src/Twitter/Status.hs index e40bc6a..976ccb3 100644 --- a/src/Twitter/Status.hs +++ b/src/Twitter/Status.hs @@ -131,7 +131,7 @@ parse_username word = matches = matchRegex username_regex word --- |Parse all usernames of the form @username from a status. +-- |Parse all usernames of the form \@username from a status. parse_usernames_from_status :: Status -> [String] parse_usernames_from_status status = catMaybes (map parse_username status_words)