Text interface for regex-tdfa (fork of shelarcy's regex-tdfa-text)