OK, here is what I try to accomplish. I want to create a package system (like rpm for example) which could be used for very minimal installations. That system should work down to "uninstall rm". So this system can't be dependent on large packages like perl. Of course one could use perl to
the packages. The database must store the version numbers. That means "1:1...". But I don't need to store them in a form unsuitable to matches. I want to use sed to extract information from this packageDB. sed because no other program is likely to be installed then. So I want the version numbers in a form that sed can use for comparision. That is a regex. Regexes match strings. Regexes are represented (in packageDB at least) as strings. Regexes could match a string that represents another (or the same) regex. If that match works is in version regexes a sign of order. That means "A regex matches a regex". Something I had left out: There could be a regex that matches all version regexes and is matched by them in turn so is equal to all -> a wildcard. That is another bonus for regexes, or have you ever heard of a wildcard number?