Modul:PageUtil: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
fix
(fix) |
(fix) |
||
Zeile 41: | Zeile 41: | ||
r = r:gsub( seek, subst ) | r = r:gsub( seek, subst ) | ||
seek = "%[%[%s*" .. source .. "%s*(|[^%[%]]*%]%])" | seek = "%[%[%s*" .. source .. "%s*(|[^%[%]]*%]%])" | ||
subst = "[[" .. shift .. "%1" | subst = "[[#" .. shift .. "%1" | ||
r = r:gsub( seek, subst ) | r = r:gsub( seek, subst ) | ||
seek = "%[%[%s*(" .. source .. "%s*%]%])" | seek = "%[%[%s*(" .. source .. "%s*%]%])" |