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
I have two filters, one is a line filter "hp": \d*\.?\d* just to ignore and "hp" changes
the other is a filter to ignore an addition \n },\n "transmission": {\n "armorThrough": 50.0,\n "fireParamsPreset": "ship_engine",\n "armorClass": "armor_tank_engine",\n "armorThickness": 4.0,\n "fireProtectionHp": 10.0
The substitution filter is supposed to ignore the addition of the "transmission" block, but because the line just above is a "hp" change the different is actually larger
If i disable line filters this show up
And the comma isn't in the same difference as the "transmission" block
if i change the hp value to 760, the transmission filter works
i do not know exactly how it works, but i guess that both filters try to apply at the same time or on the same text, and it break somewhere
I haven't investigated the reason yet, but mixing Line filters and substitution filters may not work, so how about changing Line filter to Substitution filter as shown below?
In addition, in the current version, it was necessary to change \n in the second Substitution filter to \r\n for attached files.
I have two filters, one is a line filter
"hp": \d*\.?\d*
just to ignore and "hp" changesthe other is a filter to ignore an addition
\n },\n "transmission": {\n "armorThrough": 50.0,\n "fireParamsPreset": "ship_engine",\n "armorClass": "armor_tank_engine",\n "armorThickness": 4.0,\n "fireProtectionHp": 10.0
The substitution filter is supposed to ignore the addition of the "transmission" block, but because the line just above is a "hp" change the different is actually larger
If i disable line filters this show up
And the comma isn't in the same difference as the "transmission" block
if i change the hp value to 760, the transmission filter works
i do not know exactly how it works, but i guess that both filters try to apply at the same time or on the same text, and it break somewhere
old.txt
new.txt
The text was updated successfully, but these errors were encountered: