CiscoDevNet / BootIntegrityValidator

Python module that validates the Boot Integrity Visibility output generated on a Cisco IOS-XE device
MIT License
6 stars 3 forks source link

Regex pattern incorrectly captures CRLF eol during validation #5

Closed mjavaid closed 2 years ago

mjavaid commented 2 years ago

The Regex pattern [^\S\n]*(.*)\n does not capture \r (CRLF) for files created in Windows. Users currently have to strip out \r before using the library or need to convert the eol type for the file.