-
Jan Paul Batrina authored
The regex matches all 3-12 digit hex numbers and 3-20 character length strings, then actual colors are determined using QColor::isValid. This is similar to how color matching is handled in Konsole (konsole!297). This is faster than the manual matching (the Qt PCRE is scary fast) and reduces code complexity.
eb93ed96