pub fn parse_regex<'a>( regex_string: &str, arena: &'a Corrida, ) -> Result<Nfa<'a, State<2, char>>, &'static str>
Parses a regex string into an NFA. Returns an error if the regex is invalid.