[PATCH 2/2] Added backslash escapes to the warning texts to fix the RegEx, replaced line breaks with newlines, and added some more flexible regex to handle variable spacing and newlines.