Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 9125f78

Browse files
committedMay 4, 2025·
update more docs
1 parent 5865c6d commit 9125f78

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎pages/docs/manual/v12.0.0/primitive-types.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,15 +112,15 @@ ReScript regular expressions compile cleanly to their JavaScript counterpart:
112112
<CodeTab labels={["ReScript", "JS Output"]}>
113113

114114
```res example
115-
let r = %re("/b/g")
115+
let r = /b/g
116116
```
117117
```js
118-
var r = /b/g;
118+
let r = /b/g;
119119
```
120120

121121
</CodeTab>
122122

123-
A regular expression like the above has the type `Re.t`. The [RegExp](api/core/regexp) module contains the regular expression helpers you have seen in JS.
123+
A regular expression like the above has the type `RegExp.t`. The [RegExp](api/core/regexp) module contains the regular expression helpers you have seen in JS.
124124

125125
## Boolean
126126

0 commit comments

Comments
 (0)
Please sign in to comment.