Nice regex parser, needs some more test cases