tests/regex.scm: parsing regexps into NFA