Fix trigger.admin matching.

- Add $ to the regexp so re.match won't accept a partial match.

- Simplify the re.escaping to make sure it's actually correct.