Animated regular-expression prime test in faster Regex Powertoy
This thread at News.YC motivated me to deploy some recent improvements to Regex Powertoy. It's now noticeably faster, especially for animating regex matching, and 'matchmarks' more reliably capture the entire syntax/display/animate settings.
Considering the prime-testing regex mentioned in the thread:
We can watch this match number 49 -- essentially discovering a factor and confirming that 49 is not prime -- by visiting this matchmark:
Note that clicking on the matched range brings up a detail view showing subgroup matches -- in this case the group's length is the factor found.