Skip to content

Commit 53ade3d

Browse files
authored
Update README.md
minor change
1 parent e981ae1 commit 53ade3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ pattern.sticky; // false
6666

6767
### Inversed String Methods
6868

69-
Each `RegExp`-related `string.prototype` method is available as `${string}In` with equivalent or improved typing:
69+
Each `RegExp`-related `string.prototype` method is available as `${MethodName}In` with equivalent or improved typing:
7070

7171
```typescript
7272
const datePattern = typedRegExp('(?<year>\\d{4})-(?<month>\\d{2})-(?<day>\\d{2})');

0 commit comments

Comments
 (0)