The regex will catch only lines that start with 'Directory of' regardless. Also, fixing unit tests while at it.
7 lines
60 B
Plaintext
7 lines
60 B
Plaintext
Directory of disk0:
|
|
file1
|
|
file2
|
|
|
|
Directory of flash0:
|
|
file3
|