[Compiler Bug]: Compiler messes up with escape character #32123
Labels
Component: Optimizing Compiler
Status: Unconfirmed
A potential issue that we haven't yet confirmed as a bug
Type: Bug
What kind of issue is this?
Link to repro
https://playground.react.dev/#N4Igzg9grgTgxgUxALhAgHgBwjALgAgBMEAzAQygBsCSoA7OXASwjvwFkBPAQU0wAoAlPmAAdNvjiswBVgGUoAIwC2TAgF58-BMPUA+EePzH8CAHSYYCAG4I6uACKkK1IQG4jJqXUiVzlCABzflEQBWVFNVwEQgBCUMEPCQBfJM8rXFg2EIljAB4SHGV8eSVVXHVgUpU1ZL1PE3w8pjpMKAJMMlxomDp1UNFRAHdQ-AB6etyTPMV23FZ8XE5MBH7wMrVQvQUa3Dyx2e7WScb9wphlE-xE8WTxEGSgA
Repro steps
Steps:
<input pattern="\w" />
, but it is<input pattern="\\w" />
instead, matching different regex than the one desiredHow often does this bug happen?
Every time
What version of React are you using?
19.0.0
What version of React Compiler are you using?
19.0.0-beta-63e3235-20250105
The text was updated successfully, but these errors were encountered: