Module:Tmpl: Difference between revisions

Mediawiki>ExE Boss
Prevent exponential expansion by performing all replacements during a single pass; goes from O(2ⁿ) to O(n)
m 1 revision imported: Templates and CSS files
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
-- This is a helper module for {{tmpl}}
-- This is a helper module for {{tmpl}}
require('Module:No globals')
require('strict')


-- The trailing `[^0-9]?` ensures that `$10` doesn't potentially change
-- The trailing `[^0-9]?` ensures that `$10` doesn't potentially change