I think `[\da-f]+` needs to be `[\d0-9a-f]+` (see test failure)