gnome-shell/js/misc
Dan Winship e2898bea5c findUrl: be pickier about what can precede a URL
findUrl() was seeing strings like "You have 1 new message in
foo@example.com/Inbox" and finding the URL
"[http://]example.com/Inbox". Require that URLs either start at the
start of the string, or are preceded by whitespace or an open
paren/quote/etc.

(Since JS doesn't have look-behind assertions like perl does, we have
to actually match the URL-preceding character in the regex, and then
adjust the result findUrl returns accordingly.)

https://bugzilla.gnome.org/show_bug.cgi?id=636252
2011-09-08 09:07:03 -04:00
..
config.js.in
docInfo.js
fileUtils.js
format.js
gnomeSession.js user-status: Hide "Power off" option if shutdown is disabled 2011-06-27 21:39:28 +02:00
history.js
modemManager.js
params.js
screenSaver.js screenSaver: bugfixes 2011-07-14 12:51:18 -04:00
util.js findUrl: be pickier about what can precede a URL 2011-09-08 09:07:03 -04:00