match_string


Description:

public bool match_string (string str)

Matches a string against a compiled pattern.

If the string is to be matched against more than one pattern, consider using match instead while supplying the reversed string.

Parameters:

pspec

a PatternSpec

string

the UTF-8 encoded string to match

Returns:

true if string matches pspec