Initializes a new instance of the MustacheScanner
class.
Returns true
if the tail is empty (end of string).
Tries to match the given regular expression at the current position.
The regex-pattern to match.
The matched text if it can match, the empty string otherwise.
Skips all text until the given regular expression can be matched.
The regex-pattern to match.
Returns the skipped string, which is the entire tail if no match can be made.
Generated using TypeDoc
A simple string scanner that is used by the template parser to find tokens in template strings.