The assertion yet alone doesn't help much figuring out the problem you're experiencing. I need more information about when it crashed, what your code looked like, etc..
- - - Updated - - -
I'm not supporting this project anymore, however, if you want pattern scanning implemented, you can read up on it here and try to implement it yourself: https://www.mpgh.net/forum/showthread.php?t=1094622