[wp-trac] [WordPress Trac] #63988: Regex special chars should be escaped

WordPress Trac noreply at wordpress.org
Fri Sep 19 12:20:36 UTC 2025


#63988: Regex special chars should be escaped
---------------------------------------------+--------------------------
 Reporter:  johnbillion                      |       Owner:  johnbillion
     Type:  defect (bug)                     |      Status:  closed
 Priority:  normal                           |   Milestone:  6.9
Component:  General                          |     Version:
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+--------------------------
Changes (by johnbillion):

 * owner:  (none) => johnbillion
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"60783" 60783]:
 {{{
 #!CommitTicketReference repository="" revision="60783"
 General: Escape periods in regular expressions where the character is
 intended to match only a literal period.

 Props westonruter, mukesh27, johnbillion

 Fixes #63988
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63988#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list