Find: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>Bale
mNo edit summary
imported>Ulti
improving regex "see also" navigation
 
Line 20: Line 20:




see_also={{SeeAlso|group}}|
see_also={{SeeAlso|create_matcher|group|group_count|group_string}}|
}}
}}


[[Category:String Handling Routines]]
[[Category:String Handling Routines]]

Latest revision as of 17:08, 14 October 2014

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

create_matcher() | group() | group_count() | group_string()