8
8
9
9
Build maintainable regular expressions for TypeScript and JavaScript.
10
10
11
- [ API docs] ( ./docs/API.md ) | [ Examples] ( ./docs/Examples.md )
11
+ [ API docs] ( https://callstack.github.io/ts-regex-builder/api ) | [ Examples] ( https://callstack.github.io/ts-regex-builder/examples )
12
12
13
13
## Goal
14
14
@@ -89,7 +89,7 @@ const currencyAmount = buildRegExp([
89
89
]);
90
90
```
91
91
92
- See [ API doc ] ( ./docs/API.md ) for more info.
92
+ See [ Types ] ( https://callstack.github.io/ts-regex-builder/api/types ) for more info.
93
93
94
94
### Regex Builders
95
95
@@ -98,7 +98,7 @@ See [API doc](./docs/API.md) for more info.
98
98
| ` buildRegExp(...) ` | ` /.../ ` | Create ` RegExp ` instance |
99
99
| ` buildRegExp(..., { ignoreCase: true }) ` | ` /.../i ` | Create ` RegExp ` instance with flags |
100
100
101
- See [ Regex Builder API doc] ( ./docs/API.md# builder) for more info.
101
+ See [ Regex Builder API doc] ( https://callstack.github.io/ts-regex-builder/api/ builder) for more info.
102
102
103
103
### Regex Constructs
104
104
@@ -111,7 +111,7 @@ See [Regex Builder API doc](./docs/API.md#builder) for more info.
111
111
| ` lookbehind(...) ` | ` (?<=...) ` | Match preceding text without consuming it |
112
112
| ` negativeLookbehind(...) ` | ` (?<!...) ` | Reject preceding text without consuming it |
113
113
114
- See [ Regex Constructs API doc] ( ./docs/API.md# constructs) for more info.
114
+ See [ Regex Constructs API doc] ( https://callstack.github.io/ts-regex-builder/api/ constructs) for more info.
115
115
116
116
> [ !NOTE]
117
117
> TS Regex Builder does not have a construct for non-capturing groups. Such groups are implicitly added when required.
@@ -127,7 +127,7 @@ See [Regex Constructs API doc](./docs/API.md#constructs) for more info.
127
127
| ` repeat(x, { min: n, }) ` | ` x{n,} ` | Pattern repeats at least given number of times |
128
128
| ` repeat(x, { min: n, max: n2 }) ` | ` x{n1,n2} ` | Pattern repeats between n1 and n2 number of times |
129
129
130
- See [ Quantifiers API doc] ( ./docs/API.md# quantifiers) for more info.
130
+ See [ Quantifiers API doc] ( https://callstack.github.io/ts-regex-builder/api/ quantifiers) for more info.
131
131
132
132
### Character classes
133
133
@@ -142,7 +142,7 @@ See [Quantifiers API doc](./docs/API.md#quantifiers) for more info.
142
142
| ` charClass(...) ` | ` [...] ` | Union of multiple character classes |
143
143
| ` inverted(...) ` | ` [^...] ` | Negation of a given character class |
144
144
145
- See [ Character Classes API doc] ( ./docs/API.md## character-classes) for more info.
145
+ See [ Character Classes API doc] ( https://callstack.github.io/ts-regex-builder/api/ character-classes) for more info.
146
146
147
147
### Anchors
148
148
@@ -152,11 +152,11 @@ See [Character Classes API doc](./docs/API.md##character-classes) for more info.
152
152
| ` endOfString ` | ` $ ` | Match the end of the string (or the end of a line in multiline mode) |
153
153
| ` wordBoundary ` | ` \b ` | Match the start or end of a word without consuming characters |
154
154
155
- See [ Anchors API doc] ( ./docs/API.md# anchors) for more info.
155
+ See [ Anchors API doc] ( https://callstack.github.io/ts-regex-builder/api/ anchors) for more info.
156
156
157
157
## Examples
158
158
159
- See [ Examples document] ( ./docs/Examples .md) .
159
+ See [ Examples document] ( https://callstack.github.io/ts-regex-builder/examples .md) .
160
160
161
161
## Performance
162
162
0 commit comments