Quote:
And in this specific case, the S switch isn't necessary since all control codes would be considered "not digits" anyway.

Not necessarily true. schaefer31 clarified:
Quote:
(in the off chance that your var contains colors)

Eg $regsubex(1test2,/\D+/g,) = "12"
but $regsubex(1test2,/\D+/gS,) = "2"
So it really depends on what DaveC wants: if he wants to keep only "visible" (ie not part of a color sequence) digits, /S should be used.


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com