Regex MatchesAgain() Method

Once Matches() has been called, use MatchesAgain to find the next match.

Function Signature

 bool MatchesAgain( [int& start, int& end] )

Parameters

Parameter Type Description

start

int&

(Output) If a match was found, the zero-based index of the beginning of the matched-text.

end

int&

(Output) If a match was found, the zero-based index of the end of the matched-text.

Return

Type Description

bool

Returns true if the compiled regular expression matches the value passed in.

Technical Details

SBM ModScript version: 11.3.

Example

See the example in Regex Matches() Method.

Notes

None.

Related Topics

Regex