[This is preliminary documentation and is subject to change.]
Matches a pattern against a string, and returns the position of
the part of this string corresponding to a placeholder.
Return Value
The position of the part of the input string matching the first ^^
placeholder in the pattern. If there is no match, -1 is returned.
Remarks
This is a simple version of a regular expression style match. It can include the following markers in the pattern:
.. | This will match zero or more characters, excluding
\n. |
^^ | This will match one or more characters, excluding \n. The
position in the input string matching the first of these will be
returned. |
space | Every space in the pattern will match one or more whitespace
characters in the input string. |
>| | This matches the end of the input string, or any amount of
whitespace followed by the end of the input string |
Apart from these elements, the pattern should be formatted as for .NET regular expressions, with appropriate escapes. Matching is case insensitive.