Create matcher

From Kolmafia
Revision as of 07:12, 10 May 2010 by imported>Bale (Created page with 'creating a new function {{ #vardefine:name|create_matcher}}{{ #vardefine:return_type|matcher}}{{ FunctionPage| name={{#var:name}}| function_category=XXXXXXXXXX| function1={{Fu…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.