Regular expression matching the name of a package subdirectory.
The first subexpression is the package name.
The second subexpression is the version string.
The regexp should not contain a starting "\`" or a trailing
"\'"; those are added automatically by callers.