in reply to Re^2: Searching for regular expression overlaps
in thread Searching for regular expression overlaps

Yes, Rolf, it seems that you're right.

But 19900 is still far too many combinations for a manual check.

  • Comment on Re^3: Searching for regular expression overlaps

Replies are listed 'Best First'.
Re^4: Searching for regular expression overlaps
by LanX (Saint) on Aug 13, 2016 at 17:57 UTC
    > But that's still far too many for a manual check.

    Manually ? Probably...

    Worst case meant checking 200+ regexes each time a new one is added.

    But it depends on the structure, when de-parsing Perl's internal representation ( use re "debug" ) you'll see that leading and trailing substrings get special treatment.

    Anyway... Don't let us waste energy on a XY question. :)

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