Ugh, the replace is to remove any non numeric characters, say `0.1.3b`. The `^` is in the wrong place.