in reply to Re^3: Inexplicably slow regex
in thread Inexplicably slow regex

You may wish to show your actual regex, as that's the likely source of the issue.

Replies are listed 'Best First'.
Re^5: Inexplicably slow regex
by Anonymous Monk on Sep 12, 2006 at 22:37 UTC
    The actual regular expressions start exactly as above but require additional matching text at the end. Before posting I retested my input against the example regular expressions and encountered the same performance problems so the examples should be enough for analysis.

    I'm sure providing my rather large input file would have helped but that would be difficult to manage. Luckily the user Grandfather below provided a self contained working example that illustrates the problem.