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.
2 parents 20a1c55 + 8a0e343 commit dbf3985Copy full SHA for dbf3985
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