Sadly, you are correct, no generic solution is possible. I'm attempting to work in a flawed system (in which no one can agree on a standard) and I must be backward compatible.
I probably should have phrased my request differently, to me elegant also means robust.
In reply to Re^2: Using a regex to extract a version from a Un*x path
by gcmandrake
in thread Using a regex to extract a version from a Un*x path
by gcmandrake
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |