The regex is currently very limited, see: https://gitweb.gentoo.org/proj/portage.git/tree/pym/portage/dep/__init__.py?h=portage-2.3.36#n124