TinTin++ Mud Client Manual
Regex
space
Syntax: #regex {string} {regex} {true} {false}
space
The #regex command (short for regular expression) is used to compare the given string to the given regular expression. Variables are stored in &1 to &99 with &0 holding the entire matched substring.
space
See the section on Regular Expressions' for information about pattern matching.
space
Example: #regex {Hello World} {%* World} {#showme Matched &1 World} {#showme no match}
space
See also: Case, Default, Else, Elseif, If and Switch.
space