The substring between delimiters, or on_missing.
Search for end begins after start. Occurrences of end before start are ignored.
An end regex runs against the remaining substring, so ^ anchors immediately
after start. Adjacent delimiters return an empty string rather than on_missing.
Regex flags are preserved and caller lastIndex values are neither read nor changed.
Each regex starts at zero in its searched substring; sticky regexes must match there.
Returns the substring between the first start and the first end after it.
The substring between delimiters, or on_missing.
Search for end begins after start. Occurrences of end before start are ignored.
An end regex runs against the remaining substring, so ^ anchors immediately
after start. Adjacent delimiters return an empty string rather than on_missing.
Regex flags are preserved and caller lastIndex values are neither read nor changed.
Each regex starts at zero in its searched substring; sticky regexes must match there.
Returns the substring between the first
startand the firstendafter it.