diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-10-24 17:44:56 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-10-24 17:44:56 (GMT) |
commit | 2d3c5ce054a27548e72638c02c9bf3c8cec2faba (patch) | |
tree | ad111e1b844f28ea176c58861defed3f043be7cc /SwifTools/Linkify.cpp | |
parent | 3dadad3249bee2c41b610c7148ddc41ea6b351ca (diff) | |
download | swift-2d3c5ce054a27548e72638c02c9bf3c8cec2faba.zip swift-2d3c5ce054a27548e72638c02c9bf3c8cec2faba.tar.bz2 |
Linkify links with @ in them properly.
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 a122695..0ebe832 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( |