File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -429,12 +429,13 @@ echo "11/06/91 5/9/2018" | grep -E -o '[0-9]+/[0-9]+/[0-9]+'
429429
430430## Try it 5
431431
432- Have a look at 'namesndates.txt' (``` cat namesndates.txt ``` )
433- 1 . Use 'grep -E -o' on namesndates.txt to list times (e.g. 20:57).
434- 2 . Use 'grep -E -o' on namesndates.txt to list all calendar dates.
435- 3 . Consider extra information we know about dates: days will be at most 31, months at most 12.
436- Could we use aspects of this information within our regex for more sensibleness checking?
432+ Have a look at 'namesndates.txt' (``` cat namesndates.txt ``` )
437433
434+ 1 . Use 'grep -E -o' on namesndates.txt to list times (e.g. 20:57).
435+ 2 . Use 'grep -E -o' on namesndates.txt to list all calendar dates.
436+ 3 . Consider extra information we know about dates: days will be at most 31, months at most 12.
437+ Could we use aspects of this information within our regex for more sensibleness checking?
438+
438439:::::::::::::::::::::::: solution
439440
440441## Solution
You can’t perform that action at this time.
0 commit comments