jsdoc3/jsdoc — pull request #703 by shamasis (2014-07-05 13:33:43+00:00)
Title: Pass `nameIsLongname` function via RegExp.escape

Member function containing regular expression tokens causes jsDoc to break. Passing them via `RegExp.escape` causes these tokens to get escaped and hence generate a valid regular expression.