in reply to Re^3: Regex to match ascending sequence
in thread Regex to match ascending sequence

Beautiful. I substituted the {x,} in for the + as you suggested and it worked on longer sequences. These will go a long way to help me understand how to construct dynamic regexes.
  • Comment on Re^4: Regex to match ascending sequence

Replies are listed 'Best First'.
Re^5: Regex to match ascending sequence
by LanX (Saint) on Oct 16, 2015 at 18:19 UTC
    > These will go a long way to help me understand how to construct dynamic regexes.

    Well they are flagged experimental and there are only few situations where you can't find an easier and better readable alternative.

    Especially this use case!

    Cheers Rolf
    (addicted to the Perl Programming Language and ☆☆☆☆ :)
    Je suis Charlie!