How to use Regex in ReScript?

Is there more code examples of regular expressions API?

ReScript Core has a bunch of examples in the docstrings of its regexp module: rescript-core/Core__RegExp.resi at main · rescript-association/rescript-core · GitHub

These will eventually be available as real documentation as well.

1 Like