Using an example will be simpler to explain but in method signature, when a parameter name contains a "." and a suffix which is not in [a-zA-Z0-9_], it's not filtered the same way: https://github.com/jsdoc2md/ddata/blob/master/lib/ddata.js#L595. I'm having this issue with jsdoc2md, for example:
This results into "[options], [options.$bar]" instead of "[options]".
Not entirely sure about what ES5 says about valid identifier names, but "$" is supposed to be valid.
Taking all cases into account can be quite complicated, but at least this should work for US ascii even if incomplete:
Hi,
Using an example will be simpler to explain but in method signature, when a parameter name contains a "." and a suffix which is not in [a-zA-Z0-9_], it's not filtered the same way: https://github.com/jsdoc2md/ddata/blob/master/lib/ddata.js#L595. I'm having this issue with jsdoc2md, for example:
This results into "[options], [options.$bar]" instead of "[options]".
Not entirely sure about what ES5 says about valid identifier names, but "$" is supposed to be valid. Taking all cases into account can be quite complicated, but at least this should work for US ascii even if incomplete:
or simply by filtering parameters that contain a ".":