Nfa.fromString constructor

Nfa.fromString(
  1. String regexp
)

Compiles a regular expression string into an Nfa.

Implementation

factory fromString(String regexp) => Node.fromString(regexp).toNfa();