-
Notifications
You must be signed in to change notification settings - Fork 47.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[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
Comments
mofeiZ
added a commit
that referenced
this issue
Jan 19, 2025
…l/generator Repro for #32123 Note that this is only a bug when calling `@babel/generator:generate()` before transforming JSX.
This was referenced Jan 19, 2025
mofeiZ
added a commit
that referenced
this issue
Jan 22, 2025
…l/generator (#32130) Repro for #32123 Note that this is only a bug when calling `@babel/generator:generate()` before transforming JSX. --- [//]: # (BEGIN SAPLING FOOTER) Stack created with [Sapling](https://sapling-scm.com). Best reviewed with [ReviewStack](https://reviewstack.dev/facebook/react/pull/32130). * #32131 * __->__ #32130
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: