SedEnhanced: Better Patch

This commit is contained in:
thororen1234 2026-06-24 00:21:19 -04:00
parent cb787df892
commit 8a02d88878
No known key found for this signature in database

View file

@ -26,8 +26,8 @@ export default definePlugin({
{
find: ".SLASH_COMMAND_USED,{",
replacement: {
match: /searchReplace:\{match:(\i\(\)\.anyScopeRegex)/,
replace: "searchReplace:{match:$1($self.sedRegex),action:$self.searchReplace},_eq_$&"
match: /searchReplace:\{match:(\i\(\)\.anyScopeRegex).{500,600}content:""\}\}\}/,
replace: "searchReplace:{match:$1($self.sedRegex),action:$self.searchReplace}"
}
}
],