Build your own-Regex Engine