If you're going to do starts_with, use /\Ajenkins/i.  We should never have multiline names, and \A is clearer than the greedy .*