why use a regex at all, this is what I use in my own (awful) adtrunner
depends = depends.replace("(", " ").replace("[", " ")
packages = [x.split()[0] for x in depends.split(",")]depends is a string from debian.deb822 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1073856 Title: Test depends cannot be multiline and are silently ignored if so To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1073856/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
