Construct re patterns