Regex.getStringNumber

Retrieves the number of the subexpression named @name.

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

Since

2.14