Fix raw string breaks escaping

This commit is contained in:
William Brooks 2020-02-22 02:40:41 -06:00
parent efa9d94d8e
commit 8e0ed66318
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ func ParseBootDeviceIdentifier(deviceIdentifier string, generation uint) (string
// not a simple option, check for a controllerType:controllerNumber:controllerLocation formatted
// device..
r, err := regexp.Compile(`^(IDE|SCSI):(\\d+):(\\d+)$`)
r, err := regexp.Compile(`^(IDE|SCSI):(\d+):(\d+)$`)
if err != nil {
return "", 0, 0, err
}