The `/.../gs` regex expression uses the "s" flag which is only supported when targeting 'es2018' or later. https://github.com/DroidScript/Docs/blob/7c5e0283d41d05bf5e7fc6f0f225e692e3148c77/files/jsdoc-parser.js#L242 Also lines 320, 322. The project currently targets ES6. https://github.com/DroidScript/Docs/blob/7c5e0283d41d05bf5e7fc6f0f225e692e3148c77/files/jsconfig.json#L10-L11 Perhaps along with #313 - I suggest updating the lib and target ES2020. "dotAll 's' flag : Allows . to match newline characters." : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_expressions#advanced_searching_with_flags Maybe a double check is necessary to ensure the "/gs" flags that exist really should have the "s".
Activity