Add transitional syntax support for regex.inc.