mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
ca55a4d5da
Added icons for 'sort special rarity' choice. git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@626 0fc631ac-6414-0410-93d0-97cfa31319b6
15 lines
387 B
Plaintext
15 lines
387 B
Plaintext
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\\)"
|