Skip to content

Commit e24d86c

Browse files
committed
Readme: Onig depth limit
1 parent 68cd1e0 commit e24d86c

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
@@ -7,7 +7,7 @@
77
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.
88

99
> [!NOTE]
10-
> Regex flavors vary on whether they offer infinite or fixed-depth recursion. For example, recursion in Oniguruma uses a depth limit of 20, and doesn't allow changing this.
10+
> Regex flavors vary on whether they offer infinite or fixed-depth recursion. For example, recursion in Oniguruma uses a default depth limit of 20.
1111
1212
Recursive matching is added to a regex via one of the following (the recursion depth limit is provided in place of *`N`*):
1313

0 commit comments

Comments
 (0)