Skip to content

Commit 4d31078

Browse files
committed
Readme tweaks
1 parent 6ecdb3c commit 4d31078

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[![npm downloads][npm-downloads-src]][npm-downloads-href]
55
[![bundle][bundle-src]][bundle-href]
66

7-
This is an official plugin for [Regex+](https://github.com/slevithan/regex) that adds support for recursive matching up to a specified max depth *N*, where *N* can be between 2 and 100. Generated regexes are native JavaScript `RegExp` instances.
7+
This is an official plugin for [Regex+](https://github.com/slevithan/regex) that adds support for recursive matching up to a specified max depth *N*, where *N* can be between 2 and 100. It can also be used standalone ([example](#️-direct-use-without-regex)). Generated regexes are native JavaScript `RegExp` instances.
88

99
> [!NOTE]
1010
> Regex flavors vary on whether they offer infinite or fixed-depth recursion. For example, recursion in Oniguruma uses a default depth limit of 20.
@@ -178,7 +178,7 @@ re.exec('foo (bar (baz) blah) end')[0];
178178
// → '(bar (baz) blah)'
179179
```
180180

181-
Because the generated pattern is used without Regex+, you can't include Regex+'s extended syntax like insignificant whitespace, atomic groups, possessive quantifiers, or non-recursive subroutines.
181+
Because the generated pattern is used without Regex+, you can't include Regex+'s extended syntax like insignificant whitespace, atomic groups, possessive quantifiers, and non-recursive subroutines.
182182

183183
## 🏷️ About
184184

0 commit comments

Comments
 (0)