-
-
Notifications
You must be signed in to change notification settings - Fork 738
Closed
Labels
Description
Bug Report
| Subject | Details |
|---|---|
| Rector version | last dev-main |
| Installed as | composer dependency |
Minimal PHP Code Causing Issue
See https://getrector.com/demo/0b4c127c-4159-4c99-93ac-92d6f97e5945
<?php
final class DemoFile
{
public function run()
{
echo '[0-9] and \d are a bit different.';
}
}@@ -4,6 +4,6 @@
{
public function run()
{
- echo '[0-9] and \d are a bit different.';
+ echo '\d and \d are a bit different.';
}
}Responsible rules
SimplifyRegexPatternRector
Expected Behavior
No change.
Reactions are currently unavailable