Create matcher

From Kolmafia
Revision as of 05:14, 22 May 2010 by imported>Bale
Jump to navigation Jump to search
needs(code_samples);

Function Syntax

matcher create_matcher(string regex ,string input )

  • regex is the regular expression to use
  • input is the string to search with a regular expression

Creates a matcher from a pattern and input string.