Skip empty pattern when check target lists (Closes: #952173)
If the PATTERN evaluates to the empty string, the last successfully matched regular expression is used instead
Thanks @lilydjwg
If the PATTERN evaluates to the empty string, the last successfully matched regular expression is used instead
Thanks @lilydjwg