Demonstrates the recommended practice of using a scoped block for automatic resource management, preventing memory leaks.
Demonstrates the Transformer's token-aware safety by correctly renaming a variable without corrupting a string literal or comment.
Demonstrates type punning by interpreting an unsigned byte (`Int8u`) result as a signed byte (`Int8`) to observe how values wrap around.
Demonstrates type punning by interpreting an unsigned byte (Int8u) result for 255 as a signed byte (Int8) to observe how it wraps around to -1
Demonstrates using `RewindOnChange` to create a recursive `AddUp` function within the expression transformer.
Demonstrates using `RewindOnChange(true)` to perform recursive-style transformations, such as creating a variadic `AddUp` function.
Demonstrates using the Text property with implicit conversions (shortcuts) to parse a simple config string.
Displays the complete list of default token definitions, showing their type, internal name, and regex pattern.
Dynamically re-categorizes the newline token to treat it as whitespace, allowing a pattern to match across multiple lines.
Extracts all log entries from the second 'ERROR' onwards, demonstrating how the `occurrence` parameter skips initial matches.
Extracts all numbers from a string, demonstrating the simplicity of the `{@Number}` category matcher.
Finding all occurrences of a word, getting the total count, and displaying the text of the first match.
Finding instances where there are two or more consecutive whitespace tokens and reducing them to a single space.