v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "User:Lethosor/parser function test"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(string stuff)
(regex tests)
 
Line 47: Line 47:
 
randorder {{#ifeq:{{#randorder:c|c}}|cc|1|0}}
 
randorder {{#ifeq:{{#randorder:c|c}}|cc|1|0}}
  
rmatch
+
rmatch {{#ifeq:{{#rmatch:abc234|[a-z]+|$0}}|abc|1|0}}
  
rreplace
+
rreplace {{#ifeq:{{#rreplace:a1b2c|\d|x}}|axbxc|1|0}}
  
rsplit
+
rsplit {{#ifeq:{{#rsplit:a{{!}}b{{!}}c{{!}}|[^a-z]|1}}|b|1|0}}
  
 
sha1 {{#ifeq:{{#sha1:test}}|a94a8fe5ccb19ba61c4c0873d391e987982fbbd3|1|0}}
 
sha1 {{#ifeq:{{#sha1:test}}|a94a8fe5ccb19ba61c4c0873d391e987982fbbd3|1|0}}

Latest revision as of 23:37, 10 June 2019

char 1

colorconvert 1

colorconvertto 1

colorfg 1

colortype 1

delay 1

df_cvariation

df_foreachtag

df_foreachtoken

df_makelist

df_raw

df_statedesc

df_tag

df_tagentry

df_tagvalue

eval 1

md5 1

mreplace 1

nlenable

nlenabled

ordinal 1

param 1

randint 1

randorder 1

rmatch 1

rreplace 1

rsplit 1

sha1 1

splitrand 1

strc 1

strcount 1

stricount 1

stripos 1

stristr

strlen 1

strpos 1

strripos 1

strrpos 1

strsplit

strstr

substr

var 1

var_final 1

vardefine 1

vardefineecho 1

varexists 1