Create matcher

From Kolmafia
Revision as of 19:53, 13 September 2010 by imported>Matt.chugg
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.