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:
twanvl
2008-06-19 00:37:48 +00:00
parent 5ece2dbb86
commit 158ecf67ad
19 changed files with 110 additions and 114 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ Functions can be composed using the @+@ operator, evaluating @a + b@ first evalu
> example := to_upper + { "result == {input}" }
> example("xyz") == "result == XYZ"
Multiple functions can be changed together like this, especially using [[script:rule form]].
Multiple functions can be changed together like this, this is especially convenient in combination with [[script:default arguments]].
--Example--
> example := { a + b }
+4 -4
View File
@@ -48,7 +48,7 @@ This is written as the character with code 1 in files.
--Related functions--
The following script functions deal with 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.
| [[fun:to_text]] Remove all tags from tagged text, and convert it to a [[type:string]].