Create matcher

From Kolmafia
Revision as of 07:13, 10 May 2010 by imported>Bale
Jump to navigation Jump to search

creating a new function


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.