Alternatively, you could unpack the string and simply iterate through it. A bit more code, but perhaps fast enough.
In reply to Re: Question about speeding a regexp count
by scmason
in thread Question about speeding a regexp count
by Commander Salamander
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |