Commit 80b83a8c authored by twanvl's avatar twanvl

Added regex_escape script function (was already used by keyword code);

Added icons for 'sort special rarity' choice.
parent 39b86cd2
Function: regex_escape
--Usage--
> regex_escape(some_string)
Escape a string so it can safely be used in a [[type:regex|regular expression]].
The regular expression will match the literal string, and nothing else.
--Parameters--
! Parameter Type Description
| @input@ [[type:string]] String to escape.
--Examples--
> regex_escape("some(thing)") == "some\\(thing\\)"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment