Difference between pages "Is goal" and "Regular Expressions"

From Kolmafia
(Difference between pages)
Jump to navigation Jump to search
imported>Bale
(see also get_goals|goal_exists)
 
imported>Bale
(Not a real page. Just a place to put a couple of links.)
 
Line 1: Line 1:
{{
+
This is just a stub. A place to put some real information later...
#vardefine:name|is_goal}}{{
 
#vardefine:return_type|boolean}}{{
 
  
FunctionPage|
+
Regular expressions in ASH mostly are wrappers for the Java java.util.regex package. You can find information about that here: http://java.sun.com/docs/books/tutorial/essential/regex/index.html
name={{#var:name}}|
 
  
function1={{Function|
+
There's a good resource for regexp language here: http://www.regular-expressions.info/
name={{#var:name}}|
 
aggregate={{#var:aggregate}}|
 
return_type={{#var:return_type}}|
 
return_also={{#var:return_also}}|
 
parameter1={{Param|item|want}}|
 
p1desc={{pspan|want}} is checked to see if it is a goal|
 
}}|
 
  
function_description=Checks to see if any adventuring goals would be satisfied by a {{pspan|want}}. Unfortunately there is currently no way to check for a non-item goal.|
+
Awesome tools for testing regexp here:
 
+
* http://gskinner.com/RegExr/
needscode=yes|
+
* http://www.fileformat.info/tool/regex.htm
 
 
see_also={{SeeAlso|adventure|add_item_condition|get_goals|goal_exists}}|
 
}}
 
 
 
[[Category:Adventuring]]
 

Revision as of 22:27, 6 May 2010

This is just a stub. A place to put some real information later...

Regular expressions in ASH mostly are wrappers for the Java java.util.regex package. You can find information about that here: http://java.sun.com/docs/books/tutorial/essential/regex/index.html

There's a good resource for regexp language here: http://www.regular-expressions.info/

Awesome tools for testing regexp here: