Argh. I just need a case insensitive REGEX to use against template names. See mapserver.h for the current definition.
Steve