RegExp.Match (gb.pcre)
Static Function Match ( Subject As String, Pattern As String [ , CompileOptions As Integer, ExecOptions As Integer ] ) As Boolean
Since 3.5
This static method takes the same parameters as the
Regexp constructor does. However, is does not create a new object but instead it returns whether the subject matches the pattern.
It is handy for one-line string matching where the
LIKE keyword is not sophisticated enough:
Examples
[gb.markdown].Markup.ProcessCode.1104: Cannot load component 'gb.highlight': cannot find component
[gb.markdown].Markup.ProcessCode.1104: Cannot load component 'gb.highlight': cannot find component
Effectively, Regexp.Match() is a (slightly more efficient) short-hand for
[gb.markdown].Markup.ProcessCode.1104: Cannot load component 'gb.highlight': cannot find component