Changeset 109813 in webkit


Ignore:
Timestamp:
Mar 5, 2012 4:20:33 PM (12 years ago)
Author:
commit-queue@webkit.org
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.faeroy@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):

Location:
trunk/Websites/bugs.webkit.org
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Websites/bugs.webkit.org/ChangeLog

    r103985 r109813  
     12012-03-05  Alexander Færøy  <alexander.faeroy@nokia.com>
     2
     3        The Bugzilla autocompleter doesn't support multiple Unicode characters per name
     4        https://bugs.webkit.org/show_bug.cgi?id=80319
     5
     6        Reviewed by Adam Barth.
     7
     8        The current regular expression for matching Unicode characters uses
     9        the global modifier, which means that it will never enter its second
     10        iteration of the match-loop. This patch fixes this by removing the
     11        global modifier from the regex.
     12
     13        * committers-autocomplete.js:
     14        (WebKitCommitters):
     15
    1162012-01-03  Ojan Vafai  <ojan@chromium.org>
    217
  • trunk/Websites/bugs.webkit.org/committers-autocomplete.js

    r84645 r109813  
    6868        // Convert unicode characters
    6969        if (nameParam[3] == 'u') {
    70             var unicode = /\\u([a-f\d]{4})/gi;
     70            var unicode = /\\u([a-f\d]{4})/i;
    7171            var match = unicode.exec(name);
    7272            while (match) {
Note: See TracChangeset for help on using the changeset viewer.