use temporary counters to stay isomorphic friendly
use temporary counters to stay isomorphic friendly

there's a separate counter for "matches" and a separate for parsed-out elements.
this leads to reproducible numbers, no matter how many times the code is run, which is exactly a requirement for isomorphic code

SevInf/react-linkify,tasti/react-linkify