Title | |
---|---|
CSS Colors | colorcsshtml 2 |
Roman Numerals | 2 |
Zip (aka Postal) Codes in the United States | postal codeunited statesus 2 |
[ { "featured": true, "handle": "css-color", "title": "CSS Colors", "tags": [ "color", "css", "html" ], "variations": [ { "title": "Hex (standalone)", "pattern": "^(#([a-fA-F0-9]{6}|[a-fA-F0-9]{3}))$", "tests": [ { "text": "#f00" }, { "text": "#ff0000" }, { "text": "#0f0" }, { "text": "#00ff00" }, { "text": "#00f" }, { "text": "#0000ff" }, { "text": "#000" }, { "text": "#000000" }, { "text": "#fff" }, { "text": "#ffffff" } ] }, { "title": "Hex (inline)", "pattern": "\\b(#([a-fA-F0-9]{6}|[a-fA-F0-9]{3}))\\b" } ], "fullPath": "/app/patterns/color.yaml" }, { "featured": true, "handle": "roman-numeral", "title": "Roman Numerals", "variations": [ { "title": "Roman Numerals (standalone)", "pattern": "^M{0,4}(CM|CD|D?C{0,3})(XC|XL|L?X{0,3})(IX|IV|V?I{0,3})$" }, { "title": "Roman Numerals (inline)", "pattern": "\\bM{0,4}(CM|CD|D?C{0,3})(XC|XL|L?X{0,3})(IX|IV|V?I{0,3})\\b" } ], "fullPath": "/app/patterns/roman-numeral.yaml" }, { "detail": "Postal codes (aka ZIP codes) in the United States consist of 5 digits with an optional 4 digit suffix.\n\n[Wikipedia](https://en.wikipedia.org/wiki/ZIP_Code)\n", "featured": true, "handle": "zip-code", "title": "Zip (aka Postal) Codes in the United States", "tags": [ "postal-code", "united-states", "us" ], "variations": [ { "title": "US Zip Code (standalone)", "pattern": "^((\\d{5})(-\\d{4})?)$" }, { "title": "US Zip Code (inline)", "pattern": "\\b((\\d{5})(-\\d{4})?)\\b" } ], "fullPath": "/app/patterns/zip-code.yaml" } ]