http://www.perlmonks.org?node_id=11132761


in reply to Re: Next from inner loop only works "most of the time"
in thread Next from inner loop only works "most of the time"

Now that I think about it, I make a separate reply, re: regex sets:

I am assuming that a repeated letter in a regex set is "harmless". That /[icee][icee][icee]/ should match "ice".

I am wondering if there is some regex weirdness if a letter repeats within a set?

Replies are listed 'Best First'.
Re^3: Next from inner loop only works "most of the time"
by AnomalousMonk (Bishop) on May 20, 2021 at 08:30 UTC
    ... is [there] some regex weirdness if a letter repeats within a set?

    No. [icee] is exactly equivalent to [ice], [iceeee], [eiece], etc.


    Give a man a fish:  <%-{-{-{-<

      That is exactly what I thought. And why I did what I did.

      This UFO sighting is so weird, that I thought that covering all the bases is appropriate.