Applied optimised version of $str_re and made sure there is now only one definition of the re. Thanks. Tom -- Tom Hughes (tom@compton.nu) http://www.compton.nu/