Like match_token, with ASCII letters matched in either case.
match_token_nocase :: (
line: *string,
match: string,
delimiters := DEFAULT_DELIMITERS,
spaces := DEFAULT_SPACES
) -> (value: string, success: bool)
Parameters
- line: *string
- match: string
- delimiters := DEFAULT_DELIMITERS
- spaces := DEFAULT_SPACES
Returns
- value: string
- success: bool
line := "IF x";
_, matched := match_token_nocase(*line, "if");
assert(matched);