On Wed, 13 Aug, Chris Nandor wrote: >However, you could carefully craft a regex to do something similar. >Possiblities: > >/^(?:MacOS|Mac OS)$/ >/^MacOS|Mac OS$/ >/^Mac ?OS$/ >/^Mac( ?OS.*|intosh.*)?$/ > >Obviously, to best craft the regex, you need to know exactly what the >possibilities might be. Let's take this back to the basis. Who decides what $^O returns? Could this be, for MacPerl, Matthias In this case, if Matthias decides that the result will always be "MacOS", the number of possibilities to consider are rather limited. ;-) Bart Lateur bart.mediamind@tornado.be ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch