Find: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>Bale
No edit summary
imported>Bale
mNo edit summary
Line 5: Line 5:
FunctionPage|
FunctionPage|
name={{#var:name}}|
name={{#var:name}}|
function_category=String Handling Routines|


function1={{Function|
function1={{Function|
Line 23: Line 22:
see_also={{SeeAlso|group}}|
see_also={{SeeAlso|group}}|
}}
}}
[[Category:String Handling Routines]]

Revision as of 05:15, 22 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()