You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Instant Results throws a syntax error if the search term includes a trailing backslash
react-dom.min.js?ver=18.3.1:2 SyntaxError: Invalid regular expression: /\b(test \)/gi: Unterminated group (at result.js:39:16)
at new RegExp (<anonymous>)
at __webpack_modules__../assets/js/instant-results/components/results/result.js.__webpack_exports__.default (result.js:39:16)
at hu (react-dom.min.js?ver=18.3.1:2:60308)
at xi (react-dom.min.js?ver=18.3.1:2:119597)
at bs (react-dom.min.js?ver=18.3.1:2:108749)
at vs (react-dom.min.js?ver=18.3.1:2:108677)
at gs (react-dom.min.js?ver=18.3.1:2:108540)
at as (react-dom.min.js?ver=18.3.1:2:105347)
at ls (react-dom.min.js?ver=18.3.1:2:103902)
at S (react-dom.min.js?ver=18.3.1:2:130522)
Steps to Reproduce
Enabled Instant Results.
Search for "test "
See the browser's console
Screenshots, screen recording, code snippet
No response
Environment information
No response
WordPress and ElasticPress information
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Describe the bug
The Instant Results throws a syntax error if the search term includes a trailing backslash
Steps to Reproduce
Screenshots, screen recording, code snippet
No response
Environment information
No response
WordPress and ElasticPress information
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: