I've just realised my deliberate mistake in my last mailing - the regexp's are, of course, fully conforming POSIX! I'm getting confused by another application whose regexp syntax is slightly different. Apologies to all concerned, Peter.