Regex.getMaxLookbehind
int getMaxLookbehind()Gets the number of characters in the longest lookbehind assertion in the pattern. This information is useful when doing multi-segment matching using the partial matching facilities.
Returns
the number of characters in the longest lookbehind assertion.