gnome-shell/tests
Florian Müllner 5cc42b18b0 utils: Simplify URL regex to only support one layer of parentheses
The author of the original URL-matching regex warns[0] that the pattern may
cause certain regex engines to lock up with certain input, namely patterns
that contain parentheses. It turns out SpiderMonkey is affected, but rather
than switching to the author's improved version (that is still crazy), sim-
plify the pattern a bit by removing support for nested parentheses in URLs.
Even a single pair of parentheses is extremely rare, so this is unlikely to
make a noticeable difference (other than not locking up SpiderMonkey of
course) ...

[0] http://daringfireball.net/2010/07/improved_regex_for_matching_urls
2018-04-13 18:15:44 +00:00
..
interactive cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00
testcommon cleanup: Use arrow notation for anonymous functions 2018-02-21 13:55:00 +00:00
unit utils: Simplify URL regex to only support one layer of parentheses 2018-04-13 18:15:44 +00:00
meson.build build: Run unit tests on meson test 2017-10-04 18:12:27 +02:00
run-test.sh.in tests: Fix gnome-shell theme import 2018-02-21 14:30:00 +01:00