https://bugzilla.wikimedia.org/show_bug.cgi?id=27848

           Summary: Function $.escapeRE() should also escape "^" and "$"
           Product: MediaWiki
           Version: wikimedia-deployment
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Javascript
        AssignedTo: krinklem...@gmail.com
        ReportedBy: mybugs.m...@gmail.com
                CC: tpars...@wikimedia.org


Currently, the function $.escapeRE() (from r75552) doesn't escape these
characters: ^$

Since they have special meaning in regular expressions, I think they should be
added to the list of characters to be escaped by the function.

What do you think?

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to