Template:Christory

From CWCki
Revision as of 19:02, 10 October 2009 by Cogsdev (talk | contribs)
Jump to navigation Jump to search

this is the day of the year: {{#vardefineecho:dayofyear|325}}
this is the term to be found(unused):{{#vardefineecho:searchterm||{{#var:dayofyear}}||}}
this is the regular expression to be used: {{#vardefineecho:expression|/|{{#var:dayofyear}}||([^|]*)|-/m}}
this is the regular expression to be used for testing purposes: {{#vardefineecho:testregex|/|3||([^|]*)|-/m}}

currently, this shouldn't output anything: {{#regex:[[:Template:Christory Table]]|{{#var:expression}}}}

this should output "January 4th": {{#regex:[[:Template:Christory Table]]|{{#var:testregex}}}}

this shows that regex is working: {{#regex:abcdefg|/c.*f/}}

this is the string to be searched: [[:Template:Christory Table]]