We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20a1c55 commit 8a0e343Copy full SHA for 8a0e343
packages/doxdox-parser-custom/src/index.ts
@@ -10,7 +10,7 @@ import { firstMatch, matches } from 'super-regex';
10
11
const REGEX_TIMEOUT = 1000;
12
13
-const JSDOC_PATTERN = /[ \t]*\/\*\*\s*\n?([^*]*(\*[^/])?)*\*\//g;
+const JSDOC_PATTERN = /(^|[ \t]+)\/\*\*\s*\n?(?:[^*]*(?:\*[^/])?)*\*\//gms;
14
15
const IDENTIFIER_PATTERNS = [
16
/^([a-z0-9]+):/i,
0 commit comments