@ng-doc/utils 16.7.1 → 16.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +2 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -14818,7 +14818,8 @@ function keywordsPlugin(config) {
|
|
|
14818
14818
|
* @param config
|
|
14819
14819
|
*/
|
|
14820
14820
|
function getNodes(node, parent, inlineLink, config) {
|
|
14821
|
-
const
|
|
14821
|
+
const regexp = '([*A-Za-z0-9_$@]+[.#]?[A-Za-z0-9_-]+)';
|
|
14822
|
+
const KeywordRegExp = inlineLink ? new RegExp(`^${regexp}$`, 'g') : new RegExp(regexp, 'g');
|
|
14822
14823
|
const keywordAnchorRegexp = /^(?<keyword>[*A-Za-z0-9_$@]+)((?<delimiter>[.#])(?<anchor>[A-Za-z0-9_-]+))?$/;
|
|
14823
14824
|
const {
|
|
14824
14825
|
addUsedKeyword,
|