just found all the functions I need in regexp

Hope we can use regexp in the rest of our classes.