in reply to String similarities and pattern matching

Crackers2 is correct,

I believe you're missing the OP's point.

I did completely miss the OP's point.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^2: String similarities and pattern matching
by Crackers2 (Parson) on Sep 08, 2006 at 00:20 UTC

    I believe you're missing the OP's point. The regexes are not part of the given data; in fact they're the desired answer.

    I.e. given the data

    Error 123 on SystemA file not found error Error 123 on SystemB file not found error Error 123 on SystemC file not found error

    the task is to come up with a regex that matches these, using as little variables as possible.

    That's how I read it anyway