You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[yamato@dev64 ~]$ cat /tmp/input.toml
cat /tmp/input.toml
[g]
a = "/"
[m]
b = ""
[yamato@dev64 ~]$ ~/bin/ctags --options=NONE --quiet --sort=no --fields=+ne --extras=+g -o - /tmp/input.toml
~/bin/ctags --options=NONE --quiet --sort=no --fields=+ne --extras=+g -o - /tmp/input.toml
ctags: Notice: No options will be read from files or environment
g /tmp/input.toml /^[g]$/;" t line:1 end:2
a /tmp/input.toml /^ a = "\/"$/;" K line:2 table:g
m /tmp/input.toml /^[m]$/;" t line:3 end:4
b /tmp/input.toml /^ b = ""$/;" K line:4 table:m
It works fine. However, if the TOML code is embedded in a Markdown file, the patterns become incorrect.
[yamato@dev64 ~]$ cat /tmp/input.md
cat /tmp/input.md
```toml
[g]
a = "/"
[m]
b = ""
```
[yamato@dev64 ~]$ ~/bin/ctags --options=NONE --quiet --sort=no --fields=+ne --extras=+g -o - /tmp/input.md
~/bin/ctags --options=NONE --quiet --sort=no --fields=+ne --extras=+g -o - /tmp/input.md
ctags: Notice: No options will be read from files or environment
g /tmp/input.md /^[g]$/;" t line:1 end:2
a /tmp/input.md /^[g]$/;" K line:1 table:g
m /tmp/input.md /^"$/;" t line:3 end:5
b /tmp/input.md /^"$/;" K line:3 table:m
It works fine. However, if the TOML code is embedded in a Markdown file, the patterns become incorrect.
I expected the following code fixs this:
However, it didn't.
The original input reproducing the issue:
The text was updated successfully, but these errors were encountered: