Revert "Revert "bemhtml: support lead digit in modes""

This reverts commit aa7727215adb0405abf5b6d4820165ed86cbb10c.