in reply to Re^5: Alternations and anchors (trie optimization)
in thread Alternations and anchors

You are essentially saying that improving the regex engine is not necessary

That's not what I read. More like changing the regex engine may not be necessary for the OP's real world problem (whatever that might be). If someone were to "improve" the regex engine to make this particular operation faster to run or easier to code, what would be the penalties for every other use of the engine? A workaround might well be the better option.

Generally, if an improvement can be made which neither breaks backwards compatibilty nor slows down any aspect of RE use nor introduces a forwards maintenance problem then I say go for it. Any other scenario should remain up for debate and decided on the relative merits/demerits.


🦛

  • Comment on Re^6: Alternations and anchors (trie optimization)

Replies are listed 'Best First'.
Re^7: Alternations and anchors (trie optimization)
by LanX (Saint) on Apr 03, 2025 at 13:11 UTC
    In that case he should have replied to the OP directly. Don't you think?

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    see Wikisyntax for the Monastery