mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Now all regex functions use ScriptRule.
The *_rule functions can now be considered deprecated Documented this by removing mentions of the rule functions, except for a mention of backwards compatibility. git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@997 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
+9
-18
@@ -9,27 +9,19 @@ These functions are built into the program, other [[type:function]]s can be defi
|
||||
| [[fun:reverse]] Reverse a string, @"aBc" -> "cBa"@.
|
||||
| [[fun:trim]] Remove leading and trailing whitespace from a string, @" abc " -> "abc"@.
|
||||
| [[fun:substring]] Extract a part of a string.
|
||||
| [[fun:format|format / format_rule]]
|
||||
Format a number as a string (printf).
|
||||
| [[fun:format]] Format a number as a string (printf).
|
||||
| [[fun:curly_quotes]] Make quotes curly.
|
||||
| [[fun:replace|replace / replace_rule]]
|
||||
Replace text matching a regular expression.
|
||||
| [[fun:filter_text|filter_text / filter_rule]]
|
||||
Keep only the text matching a regular expression.
|
||||
| [[fun:break_text|break_text / break_rule]]
|
||||
Break text into parts each matching a regular expression.
|
||||
| [[fun:sort_text|sort_text / sort_rule]]
|
||||
Sort the letters in a string using a custom order.
|
||||
| [[fun:replace]] Replace text matching a regular expression.
|
||||
| [[fun:filter_text]] Keep only the text matching a regular expression.
|
||||
| [[fun:break_text]] Break text into parts each matching a regular expression.
|
||||
| [[fun:sort_text]] Sort the letters in a string using a custom order.
|
||||
| [[fun:contains]] Does a string contain another one?
|
||||
| [[fun:match|match / match_rule]]
|
||||
Does a string match a regular expression?
|
||||
| [[fun:match]] Does a string match a regular expression?
|
||||
| [[fun:regex_escape]] Escape a string for use in a regular expression.
|
||||
|
||||
! [[type:tagged_string|Tags]] <<<
|
||||
| [[fun:tag_contents|tag_contents / tag_contents_rule]]
|
||||
Change the contents of a specific tag.
|
||||
| [[fun:remove_tag|remove_tag / tag_remove_rule]]
|
||||
Remove a tag, keep the contents.
|
||||
| [[fun:tag_contents]] Change the contents of a specific tag.
|
||||
| [[fun:remove_tag]] Remove a tag, keep the contents.
|
||||
| [[fun:remove_tags]] Remove all tags from tagged text.
|
||||
|
||||
! [[type:list|Lists]] <<<
|
||||
@@ -40,8 +32,7 @@ These functions are built into the program, other [[type:function]]s can be defi
|
||||
| [[fun:filter_list]] Filter a list, keeping only elements that match a predicate.
|
||||
|
||||
! Keywords <<<
|
||||
| [[fun:expand_keywords|expand_keywords / expand_keywords_rule]]
|
||||
Expand the keywords in a piece of text.
|
||||
| [[fun:expand_keywords]] Expand the keywords in a piece of text.
|
||||
| [[fun:keyword_usage]] What keywords are used on a card, and how often are they used?
|
||||
|
||||
! English language <<<
|
||||
|
||||
Reference in New Issue
Block a user