Create Regular Expression Matching (pyemma)

Contain two methods