Increment decrement operators single string
Summary
None
Purpose of change
Apply https://github.com/CleverRaven/Cataclysm-DDA/pull/77238 to the repo. This PR is just ++ and --
Describe the solution
Replace ",[ \n\r]+"++" with ++" and ",[ \n\r]+"--" with --"
Describe alternatives you've considered
Testing
Manually reviewed changes
Additional context
Why not \s for 'any whitespace'? Does that catch more cases?
I just forgot that was a thing, my retention of regex stuff is abysmal '^^
Ok so this is not ready for merge?
quick search yield no additional hits (if my regex is up to par)
results
Ye this is good to go I think \s is equivalent to [ \t\n\r] and we don't allow tabs so what I did is just slightly uglier but does the same thing