Create a new parser builder with a default configuration.
()
| 20 | impl ParserBuilder { |
| 21 | /// Create a new parser builder with a default configuration. |
| 22 | pub fn new() -> ParserBuilder { |
| 23 | ParserBuilder::default() |
| 24 | } |
| 25 | |
| 26 | /// Build a parser from this configuration with the given pattern. |
| 27 | pub fn build(&self) -> Parser { |