|
12 | 12 | ],
|
13 | 13 | "contributors": [],
|
14 | 14 | "code": "^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$\n\n\n-> Usage:\n#FFF1 ✗\n#FFF ✓\n#FFF000 ✓\n"
|
| 15 | +<<<<<<< Updated upstream |
| 16 | +======= |
| 17 | + }, |
| 18 | + { |
| 19 | + "title": "IPv4", |
| 20 | + "description": "Matches IPv4 address", |
| 21 | + "author": "majvax", |
| 22 | + "tags": [ |
| 23 | + "ipv4", |
| 24 | + "networking" |
| 25 | + ], |
| 26 | + "contributors": [], |
| 27 | + "code": "^((25[0-5]|2[0-4]\\d|1\\d{2}|\\d{1,2})\\.){3}(25[0-5]|2[0-4]\\d|1\\d{2}|\\d{1,2})$\n\n\n-> Usage:\n123.300.0.101 ✗\n127.0.0.1 ✓\n192.168.0.1 ✓\n" |
| 28 | + }, |
| 29 | + { |
| 30 | + "title": "Unintentional Duplication", |
| 31 | + "description": "Matches duplicated word in a text.", |
| 32 | + "author": "majvax", |
| 33 | + "tags": [ |
| 34 | + "trim" |
| 35 | + ], |
| 36 | + "contributors": [], |
| 37 | + "code": "\\b(\\w+)\\s+\\1\\b\n\n\n-> Usage:\nI need to finish this task ✗\nI need to to finish this task ✓\n" |
| 38 | + }, |
| 39 | + { |
| 40 | + "title": "Whitespace Trimmer", |
| 41 | + "description": "Matches leading and/or trailing whitespace.", |
| 42 | + "author": "majvax", |
| 43 | + "tags": [ |
| 44 | + "trim" |
| 45 | + ], |
| 46 | + "contributors": [], |
| 47 | + "code": "^\\s+|\\s+$\n\n\n-> Usage:\n(don't account for the quotation marks, it just to visualize whitespace)\n\"Hello World\" ✗\n\" Hello World\" ✓\n\"Hello World \" ✓\n\" Hello World \" ✓\n" |
| 48 | +>>>>>>> Stashed changes |
15 | 49 | }
|
16 | 50 | ]
|
17 | 51 | },
|
|
0 commit comments