I'm unfamiliar with this syntax.  Is this native JS regex support?  Could you add a (code) comment to describe what's happening there?