Fix re_match bug.

svn path=/trunk/tools/; revision=83582