diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-05-08 17:48:49 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-05-08 17:48:49 (GMT) |
commit | 5d45fe065778b1564618a623cca19d12621b72ca (patch) | |
tree | 572b5277d81018046b32286ccb425b88973ce7f4 /SwifTools/Linkify.cpp | |
parent | 73ad73d896664a75e30063a6b96ed18a3b856786 (diff) | |
download | swift-5d45fe065778b1564618a623cca19d12621b72ca.zip swift-5d45fe065778b1564618a623cca19d12621b72ca.tar.bz2 |
Fixed linkify bug.
Resolves: #326
Diffstat (limited to 'SwifTools/Linkify.cpp')
-rw-r--r-- | SwifTools/Linkify.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SwifTools/Linkify.cpp b/SwifTools/Linkify.cpp index 483a08f..84ee73d 100644 --- a/SwifTools/Linkify.cpp +++ b/SwifTools/Linkify.cpp @@ -10,7 +10,7 @@ namespace Swift { -static const boost::regex linkifyRegexp("(https?://([\\-\\w\\.]+)+(:\\d+)?(/([%~\\-\\w/_#\\.\\+]*(\\?\\S+)?)?)?)"); +static const boost::regex linkifyRegexp("(https?://([@:\\-\\w\\.]+)+(:\\d+)?(/([%~\\-\\w/_#\\.\\+]*(\\?\\S+)?)?)?)"); String Linkify::linkify(const String& input) { return String(boost::regex_replace( |