Update swagger.js

Escaping slash on the regex of the nickname sanitize method.