Since Debian and Ubuntu now have the same behavior I'd probably just change the regex to match them both.