match


Description:

public string? match (Regex regex, out MatchInfo match_info) throws Error

Matches a configuration against a regular expression.

match_info will contain the match information if the return value is not null, otherwise throws will be set.

Parameters:

this

a Config.

regex

a Regex.

match_info

a MatchInfo.

Returns:

the value of that matched configuration