Yes the one that is in my public source contains pattern scan, well isn't good, WPM and RPM doesn't check for any shit and could happen errors, you also can't read arrays with it, well if you need a start, take it, but i would recomend improving it, like, there are 2 functions for pattern scan, pretty wrong from my part, i didn't noticied.
Nothing that big, but it is not perfect, nor even near to be, you should make your own.