regular expression char count too much breaches the threshold, which leads to stack over flow error
When trying to anylize a string using regular expression, in case that the regular expression could potentially grow, we need to be careful that the growing size of expression can lead to stack over flow exception.