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 13c11d1 commit 7b238eaCopy full SHA for 7b238ea
packages/doxdox-parser-custom/src/index.ts
@@ -10,9 +10,10 @@ import { firstMatch, matches } from 'super-regex';
10
11
const REGEX_TIMEOUT = 1000;
12
13
-const JSDOC_PATTERN = /(^|[ \t]+)\/\*\*\s*\n?(?:[^*]*(?:\*[^/])?)*\*\//gms;
+export const JSDOC_PATTERN =
14
+ /(^|[ \t]+)\/\*\*\s*\n?(?:[^*]*(?:\*[^/])?)*\*\//gms;
15
-const IDENTIFIER_PATTERNS = [
16
+export const IDENTIFIER_PATTERNS = [
17
/(?:class|function|var|let|const)[ ]+([a-z0-9_]+)[ ]*(?:[={(])?/i,
18
/((?:[a-z0-9_.]+)(\.prototype)?\.(?:[a-z0-9_]+))/i,
19
/[a-z0-9_]+[ ]*as[ ]*([a-z0-9_]+)/i,
0 commit comments