I'm trying to use a regex to match a pattern such as (letter(letter|number))*, I mean a string with infinite length but with a "start with a letter, then be either a letter or a number" rule.
So I'm using this pattern #"\w+[\w|\d]*" in clojure, but if I use just a number it validates, just like the code below, what am I doing wrong?
(re-matches #"\w+[\w|\d]*" "1")