mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 13:37:58 +01:00
1 line
1.8 KiB
HTML
1 line
1.8 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>code/__DEFINES/regex.dm - Space Station 13</title></head><body><header><a href="index.html">Space Station 13</a> - <a href="index.html#modules">Modules</a> - <a href="index.html#types">Types</a> — <a href="code/__DEFINES/regex.html#define">Define Details</a></header><main><h1>code/__DEFINES/regex.dm <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/regex.dm"><img src="git.png" width="16" height="16" title="code/__DEFINES/regex.dm"></a></h1><table class="summary" cellspacing="0"><tr><th><a href="code/__DEFINES/regex.html#define/REGEX_REPLACE_HANDLER">REGEX_REPLACE_HANDLER</a></th><td>Use this for every proc passed in as second argument in regex.Replace. regex.Replace does not allow calling procs by name but as of 515 using proc refs will always call the top level proc instead of overrides</td></tr></table><h2 id="define">Define Details</h2><h3 id="define/REGEX_REPLACE_HANDLER"><aside class="declaration">#define </aside>REGEX_REPLACE_HANDLER <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/regex.dm#L2"><img src="git.png" width="16" height="16" title="code/__DEFINES/regex.dm 2"></a></h3><p>Use this for every proc passed in as second argument in regex.Replace. regex.Replace does not allow calling procs by name but as of 515 using proc refs will always call the top level proc instead of overrides</p></main><footer>paradise.dme <a href="https://github.com/ParadiseSS13/Paradise/tree/8a8a00a2a9bec485351e5f219982b7315d3504fa">8a8a00a</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.11.0</a></footer></body></html> |