refactor(docs): Fix bad regular expression

Added missing `^`, it works now. :baby_chick: 

Some sort of unit tests would be nice, but it would be a big job to do..