regular expressions and streams
| Newsgroups | gmane.comp.lang.ocaml.beginners |
|---|---|
| Message-ID | <[email protected]> |
Is there an already existing way to match a regular expression with a stream of characters? I'd like to receivea success/failure indication, the string matched, and, of course, the stream advanced to the next character after the string on success and unchanged on failure. I could improvise something, but why reinvent the wheel? -- hendrik