Modul:Color contrast: Unterschied zwischen den Versionen

html #
K (Changed protection level of Module:Color contrast: High risk module 235k+ transclusions ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)))
(html #)
Zeile 98: Zeile 98:
-- remove leading # (if there is one) and whitespace
-- remove leading # (if there is one) and whitespace
c = mw.ustring.match(c, '^[%s#]*([a-f0-9]*)[%s]*$')
c = mw.ustring.match(c, '^[%s#]*([a-f0-9]*)[%s]*$')
c = mw.ustring.match(c, '^[%s]*#([a-f0-9]*)[%s]*$')


-- split into rgb
-- split into rgb
Anonymer Benutzer