[Bug 1029190] New: Support for package variants according to the evaluation of bigger regular expressions