Maxim Ermilov 255d4634a9 util: Fix regex used to match for URLs
Commit a65a0f03d49 changed the literal RegExp to a string-based
RegExp(). As backslashes are treated specially inside strings,
translating an expression as /\s/ to '\s' results in a faulty
regex of /s/, so escape backslashes where necessary.
https://bugzilla.gnome.org/show_bug.cgi?id=639914
2011-01-19 05:06:53 +03:00
..
2010-10-01 01:08:22 +04:00
2011-01-19 05:06:53 +03:00