in reply to Organising lots of simple regexes

It might look better if you change elsif's to or's:

s|this|that| or s|foo|bar|
(But don't do this: s|this|that|||s|foo|bar|)