Extend the validation regexp for bootif

It has to accommodate pXpY and emZ namings.

Fixes #36.