Find

From Kolmafia
Revision as of 07:16, 10 May 2010 by imported>Bale (Created page with '{{ #vardefine:name|create_matcher}}{{ #vardefine:return_type|matcher}}{{ FunctionPage| name={{#var:name}}| function_category=String Handling Routines| function1={{Function| nam…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
needs(code_samples);

Function Syntax

matcher create_matcher(matcher pattern )

  • pattern is the matcher to search

Finds the next instance of the pattern or returns false if no more matches exist. Note that a single instance of a pattern may contain any number of capturing groups.