On 22/05/12 18:02, Sam Watkins wrote: > Any XML parser much longer than this: > > /(<.*?>|[^<]+)\s*/g > /(\w+)="(.*?)"/g > > is too big, slow, and complex for me! :p You're a bad man. :) Andrew