Rector: Rector\Php73\Rector\FuncCall\RegexDashEscapeRector breaking the regexp

Created on 18 Apr 2020  路  5Comments  路  Source: rectorphp/rector

Bug Report

Rector version | 0.5.23

Minimal PHP Code Causing Issue

https://getrector.org/demo/6c42cc3b-1c82-40a9-8bb4-94349ba79f64

Expected Behaviour

it should not escape the backslash

bug

All 5 comments

Are you sure you are using rector 0.5.23?

You should update this really old release to something more recent..

@staabm I guess the website https://getrector.org uses a more recent version ? but the issue is still reproducible there also.

Ahh .. makes sense..sorry for the noise

It's in dev-master too, I'll look at it :+1:

@sidux Next time please use the most recent version in the issue description, so we're not confused :laughing:

Code sample: https://3v4l.org/HOedn

Was this page helpful?
0 / 5 - 0 ratings