I came up with a similar one but just a character shorter: /^<[\Q $prefix \E]? $+ $1> ./i

Edit: pretty much the same since you used the extra +

Last edited by Sigh; 18/10/05 11:05 AM.