Regex.getStringNumber

Retrieves the number of the subexpression named name. Since 2.14

class Regex
int
getStringNumber
(
string name
)

Parameters

name string

name of the subexpression

Return Value

Type: int

The number of the subexpression or -1 if name does not exists

Meta