Write technical use cases
We wish to develop a broad-ranging corpus of regular expressions that tests a variety of real-world use cases. Give 10 general categories that would be appropriate for organizing this corpus and several subcategories for each. Give your response as a hierarchically numbered list.
Output:
- Date formats 1.1. YYYY-MM-DD 1.2. DD/MM/YYYY 1.3. MM/DD/YYYY
- Time formats 2.1. HH:MM:SS 2.2. HH:MM
- Phone numbers 3.1. (XXX) XXX-XXXX 3.2. XXX-XXX-XXXX
- Email addresses 4.1. name@domain.com 4.2. name@subdomain.domain.com
- IP addresses 5.1. XXX.XXX.XXX.XXX 5.2. XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX
- URLs 6.1. http://www.domain.com 6.2. https://www.domain.com 6.3. www.domain.com
- Currency 7.1. $XXX.XX 7.2. €XXX.XX 7.3. £XXX.XX
- File extensions 8.1. .txt 8.2. .pdf 8.3. .doc
- Hexadecimal values 9.1. #XXXXXX 9.2. #XXX
- Social security numbers 10.1. XXX-XX-XXXX
Did this answer your question?
😞
😐
🤩