[wp-trac] [WordPress Trac] #53808: Got "/^(?:[\d]+|me$/: Unterminated group" error after wordpress upgrade

WordPress Trac noreply at wordpress.org
Wed Jul 28 07:57:53 UTC 2021


#53808: Got "/^(?:[\d]+|me$/: Unterminated group" error after wordpress upgrade
----------------------------------+-----------------------------
 Reporter:  ranjitp               |      Owner:  (none)
     Type:  defect (bug)          |     Status:  new
 Priority:  normal                |  Milestone:  Awaiting Review
Component:  General               |    Version:  5.7.2
 Severity:  critical              |   Keywords:  needs-patch
  Focuses:  javascript, rest-api  |
----------------------------------+-----------------------------
 I have got a Invalid regular expression. But when i removed the
 "groupPattern ? '' + groupPattern + '$' : component, 'i'" in the line 81
 from the file node_modules/wpapi/lib/route-tree.js. It is working fine. I
 have upgrade the WP. I got that error after that.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53808>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list