regmatch.cc #2