djfz-2020/TaskI01/description.txt

10 lines
345 B
Plaintext
Raw Normal View History

2021-02-13 15:29:52 +01:00
Write a program to find lines containing date ranges in format 'XXXX - XXXX' or 'XXXX-XXXX',
where X is a digit. Digit is one of the '0123456789' characters.
The string must be separated by regular spaces. The only exception is the begging
or the end of the whole line.
Make use of regular expressions.
POINTS: 6
DEADLINE: 2021-02-22 23:59:59