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
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
Describe the bug
swc repl
pattern="\x5cd"
outputpattern="\\d"
Rollup repl
pattern="\x5cd"
outputpattern="\x5cd"
Although their syntax is equivalent in js, my running program relies on the ascii code of
\x5c
When I used swc to replace the rollup project, the program ran unexpectedly.
Input code
No response
Config
No response
Playground link (or link to the minimal reproduction)
https://play.swc.rs/?version=1.3.100&code=H4sIAAAAAAAAA0soSCwpSS3Ks1WKqTBNTlFKsAYAQ6376BIAAAA%3D&config=H4sIAAAAAAAAA1WPSw7DIAwF9zkF8rrbdtE79BCIOhERP9mOVBTl7oUE0maH3xszsA5KwcwGnmotxzIkTYx0ziXhHER%2FSgKSE7IhmwRuvRWu1agd4x5tRwOiaUKpW8j3hoOLkbHjLfM22DH%2FC030iZD5ClZUh8nhVTc0Jfj4XvayfaQ%2B9tA%2F4Ad12XkxWH71TaEFh%2B0LYuVI0xQBAAA%3D
SWC Info output
No response
Expected behavior
keep ascii code
Actual behavior
No response
Version
14.14
Additional context
No response
The text was updated successfully, but these errors were encountered: