in reply to Regex to match ascending sequence

In your regex, I guess that \d* will match the whole string so that the other part of the alternation is just short circuited.