Liam Clarke wrote: > Whereas \x1b\=.k\w*?0 would match it far more precisely, because > that's the regex for > > esc=<single character*>k<some whitespace, maybe>0 Slight correction: \w means any 'Word' character - alphanumeric plus underscore. \s matches whiteSpace. Kent