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
where the shaded pattern contains the original pattern, this loop keeps calling the same relocator class until the value stops changing - but it never does because it can keep replacing the first instance of the original pattern in the shaded pattern.
So the string passed to SimpleRelocator just grows and grows and grows!
There's no docs indicating patterns like this are prohibited, in fact the docs have such a pattern as an example.
Why does that code need to apply the same relocator multiple times?
The text was updated successfully, but these errors were encountered:
(wow, sorry. I did not pay attention to this repo in a long time)
The problem is that the pattern is wrong. It is not anchored (the first value <pattern> is not a string, but a regexp pattern) and the . wildcards are not escaped. This should be
I originally documented this problem against the Shade plugin itself Issue
For relocations like
where the shaded pattern contains the original pattern, this loop keeps calling the same relocator class until the value stops changing - but it never does because it can keep replacing the first instance of the original pattern in the shaded pattern.
So the string passed to SimpleRelocator just grows and grows and grows!
There's no docs indicating patterns like this are prohibited, in fact the docs have such a pattern as an example.
Why does that code need to apply the same relocator multiple times?
The text was updated successfully, but these errors were encountered: