Fix regex issue introduced via https://github.com/Polymer/platform-dev/commit/a81d5ee6d05f5ed03b480dde7c509d2b2e20b564#diff-d41d8cd98f00b204e9800998ecf8427e.