in reply to Composing regex's dynamically
(Although Corion's suggestion should work just fine, too, if you're just alternating strings...)