Skip to content

compileRegexWithLimit

compileRegexWithLimit(pattern, limit): RE2JS

compileRegexWithLimit compiles a regular expression and enforces its maximum program size.

A non-positive limit leaves the program size unbounded.

string

number

RE2JS