In Python 3.8, the re module no longer escapes various
characters (such as ; or /), as opposed to python 3.6.
Update various regexes in yaml-validate.py to match
patterns as expected for all python versions.
Change-Id: Ica7a01b10bc9483acdf7468bec2f8840ee3f7170
Closes-Bug: #1883722