Your comments

OK thanks! A rather Perlish syntax which is good from my POV. Outside the phone I'm on Linux or occasionally Windows + Vim so my experience with Textmate is nil. Nice syntax for conditional branching in the replacement!
/bpj