Title: [109813] trunk/Websites/bugs.webkit.org
- Revision
- 109813
- Author
- commit-qu...@webkit.org
- Date
- 2012-03-05 16:20:33 -0800 (Mon, 05 Mar 2012)
Log Message
The Bugzilla autocompleter doesn't support multiple Unicode characters per name
https://bugs.webkit.org/show_bug.cgi?id=80319
Patch by Alexander Færøy <alexander.fae...@nokia.com> on 2012-03-05
Reviewed by Adam Barth.
The current regular _expression_ for matching Unicode characters uses
the global modifier, which means that it will never enter its second
iteration of the match-loop. This patch fixes this by removing the
global modifier from the regex.
* committers-autocomplete.js:
(WebKitCommitters):
Modified Paths
Diff
Modified: trunk/Websites/bugs.webkit.org/ChangeLog (109812 => 109813)
--- trunk/Websites/bugs.webkit.org/ChangeLog 2012-03-06 00:13:55 UTC (rev 109812)
+++ trunk/Websites/bugs.webkit.org/ChangeLog 2012-03-06 00:20:33 UTC (rev 109813)
@@ -1,3 +1,18 @@
+2012-03-05 Alexander Færøy <alexander.fae...@nokia.com>
+
+ The Bugzilla autocompleter doesn't support multiple Unicode characters per name
+ https://bugs.webkit.org/show_bug.cgi?id=80319
+
+ Reviewed by Adam Barth.
+
+ The current regular _expression_ for matching Unicode characters uses
+ the global modifier, which means that it will never enter its second
+ iteration of the match-loop. This patch fixes this by removing the
+ global modifier from the regex.
+
+ * committers-autocomplete.js:
+ (WebKitCommitters):
+
2012-01-03 Ojan Vafai <o...@chromium.org>
Increment the code-review.js version number to bust browser
Modified: trunk/Websites/bugs.webkit.org/committers-autocomplete.js (109812 => 109813)
--- trunk/Websites/bugs.webkit.org/committers-autocomplete.js 2012-03-06 00:13:55 UTC (rev 109812)
+++ trunk/Websites/bugs.webkit.org/committers-autocomplete.js 2012-03-06 00:20:33 UTC (rev 109813)
@@ -67,7 +67,7 @@
// Convert unicode characters
if (nameParam[3] == 'u') {
- var unicode = /\\u([a-f\d]{4})/gi;
+ var unicode = /\\u([a-f\d]{4})/i;
var match = unicode.exec(name);
while (match) {
name = name.replace(match[0], String.fromCharCode(parseInt(match[1], 16)));
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes