fix member references
This commit is contained in:
parent
8e8f74df97
commit
70c3b059a5
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ const remarkParseAtTypes: RemarkPlugin<[]> =
|
||||||
) {
|
) {
|
||||||
const node = rawNode as Md.Literal;
|
const node = rawNode as Md.Literal;
|
||||||
node.value = node.value.replace(
|
node.value = node.value.replace(
|
||||||
/@@(?<path>([A-Z]\w*\.)*([A-Z]\w*))?((?<member>[a-z]\w*)((?<function>\(\))|(?<signal>\(s\)))?)?(?=[$.,;:)\s]|$)/g,
|
/@@(?<path>([A-Z]\w*\.)*([A-Z]\w*))?(\.(?<member>[a-z]\w*)((?<function>\(\))|(?<signal>\(s\)))?)?(?=[$.,;:)\s]|$)/g,
|
||||||
(_full, ...args) => {
|
(_full, ...args) => {
|
||||||
type Capture = {
|
type Capture = {
|
||||||
path: string | undefined;
|
path: string | undefined;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue