diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-08-19 16:18:46 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-08-19 16:18:46 (GMT) |
commit | b44ed4b36505ece31f29cdd0803af9949463f94b (patch) | |
tree | b0871fbd5d2a8544379ff8349a98dbddb5561ee2 /SwifTools/Linkify.cpp | |
parent | e1f9cdc38b600d930760ed0e0b867ab739127f5a (diff) | |
download | swift-b44ed4b36505ece31f29cdd0803af9949463f94b.zip swift-b44ed4b36505ece31f29cdd0803af9949463f94b.tar.bz2 |
Fixed linkifying of urls containing '='.
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 84ee73d..a122695 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( |