DocsPlaygroundBlogCommunityPackages
  • Playground
  • Blog
  • Community
  • Packages
  • X
  • Bluesky
  • GitHub
  • Forum
Language ManualAPISyntax LookupReact

Syntax Lookup

Enter some language construct you want to know more about.
This is the regular expression syntax.

Available in v12+

You write regular expressions in ReScript just like you do in JavaScript.

ReScriptJS Output
let regex = /^hello/
let result = regex->RegExp.test("hello world")

References

  • Regular Expressions

  • RegExp API

© 2025 The ReScript Project

About
  • Community
  • ReScript Association
Find us on