Fix coverage & use npm xregexp

@temas: Can we use the npm version of xregexp?