Fix JSHint on Sandcastle examples

Because I apparently don't know how to use regexes, the Ant JSHint task would only check every other Sandcastle example.  Regexes with the global flag remember the last index they matched at and resume matching from that index the next time they're used.  To fix this, each match needs a new instance.