Demo of 2 functions built to simplify the c regex api