Difference between revisions of "Find"

From Kolmafia
Jump to navigation Jump to search
imported>Bale
imported>Bale
Line 20: Line 20:
 
needscode=yes|
 
needscode=yes|
  
 +
 +
see_also={{SeeAlso|group}}|
 
}}
 
}}

Revision as of 05:14, 11 May 2010

needs(code_samples);

Function Syntax

boolean find(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.

See Also

group()