[wp-trac] [WordPress Trac] #21175: Found a bug in JavaScript program

WordPress Trac wp-trac at lists.automattic.com
Fri Jul 6 23:27:37 UTC 2012


#21175: Found a bug in JavaScript program
--------------------------+------------------------------
 Reporter:  UmarFarooque  |       Owner:
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------
Changes (by azaozz):

 * keywords:  dev-feedback has-patch => has-patch


Comment:

 Yeah, many highlighters get confused by regex patterns.

 Replying to [comment:5 SergeyBiryukov]:
 > Looking at the `clean` regex, seems that all three last characters
 should be escaped

 Not necessary when inside a character set, `/[\\/-]+/` matches one or more
 of `/`, `\`, and `-`.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21175#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list