It might look better if you change elsif's to or's:
(But don't do this: s|this|that|||s|foo|bar|)s|this|that| or s|foo|bar|
In reply to Re: Organising lots of simple regexes
by ambrus
in thread Organising lots of simple regexes
by ViceRaid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |