And unless you're using $regml or $regsub to backreference, you should use:
/^([color:blue]?:[a-z]{6}|[a-z]{10})$/[/color]

Just a bit faster, telling the regex engine to group but not backref.


Well. At least I won lunch.
Good philosophy, see good in bad, I like!