Currently, the regex for SVLEN will not replace a negative number and just appends. You end up with something like "SVLEN=99-100", where "SVLEN=-100" was the original, and it should be "SVLEN=-99" afterwards.
This pull request changes it such that it first performs a regex search for the presence of the negative, and if it doesn't find it, then does it without the negative.
Currently, the regex for SVLEN will not replace a negative number and just appends. You end up with something like "SVLEN=99-100", where "SVLEN=-100" was the original, and it should be "SVLEN=-99" afterwards.
This pull request changes it such that it first performs a regex search for the presence of the negative, and if it doesn't find it, then does it without the negative.