Regex.getMaxBackref

Returns the number of the highest back reference in the pattern, or 0 if the pattern does not contain back references.

class Regex
int
getMaxBackref
()

Return Value

Type: int

the number of the highest back reference

Meta

Since

2.14