[wp-trac] [WordPress Trac] #53808: Got "/^(?:[\d]+|me$/: Unterminated group" error after wordpress upgrade
WordPress Trac
noreply at wordpress.org
Wed Jul 28 09:30:01 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 | Resolution:
Keywords: needs-patch reporter-feedback | Focuses: javascript,
| rest-api
-------------------------------------------+-------------------------------
Old description:
> 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.
New description:
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.
--
Comment (by SergeyBiryukov):
Related: #51467
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53808#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list