ikforth
ikforth copied to clipboard
Improve implementation of 17.6.2.2255 SUBSTITUTE
Followup for #13
- replace reference implementation with a state machine populating one of the two buffers and switching between them when a delimiter is found in the input;
- remove usage of global variables;