in reply to Need version regex

I don't think that's very practical. You're better off, IMO, to extract a version number, and compare it to your limit value, external to the regex. Trying to incorporate the comparison inside the regex, isn't very useful, IMO, but it is very hard, if it is even feasable.

Replies are listed 'Best First'.
Re^2: Need version regex
by Anonymous Monk on Nov 26, 2004 at 21:18 UTC
    Sorry can't do. Because the only comparision in sed I can do is regex match. (See first sentence in original post and my answer to samtgear above)