Note the remark ", including virtual package names." in the manpage.
bindgen-0.65 has a "Provides: bindgen" (with a version), so it has (also) the virtual package name "bindgen" and that perfectly matches your regex. So, working as intended & documented and hence I am changing the status to opinion (could be a question, but I don't seem to have the rights to do that) ** Changed in: apt (Ubuntu) Status: New => Opinion -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2064905 Title: Dubious output when using regex with apt-cache search To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/2064905/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs