reinstall a regex

per discussion at d2aa07d860a776831f8f52ff03b4ec8827219099#commitcomment-4039237