# Obsidian Editor help to navigate to line based on match from DataViewJS table

**URL:** <https://forum.obsidian.md/t/obsidian-editor-help-to-navigate-to-line-based-on-match-from-dataviewjs-table/68890>\
**Category:** Help\
**Tags:** editor, dataview\
**Created:** [October 6, 2023, 4:22pm UTC](https://forum.obsidian.md/t/obsidian-editor-help-to-navigate-to-line-based-on-match-from-dataviewjs-table/68890 "2023-10-06T16:22:25Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![gino\_m](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/g/3ec8ea/32.png) [@gino\_m](https://forum.obsidian.md/u/gino_m)\
**Post date:** [October 8, 2023, 4:25pm UTC](https://forum.obsidian.md/t/obsidian-editor-help-to-navigate-to-line-based-on-match-from-dataviewjs-table/68890/6 "2023-10-08T16:25:37Z")

</div>

In the meantime, I made 2 more queries for each note to help with review of notes before publishing them.

By the way, the Obsidian query `file: "filename.md" /regex query pattern/` doesn’t give good results.  
I thought of putting up a bug report again, but it may come back as no bug. So, instead, I was using regex for the file names too:  
`file: /^filename.md/ /regex query pattern/`

- This will give proper results for the current file. Using the double quote method, sometimes I would get results for `Def abc.md` as well as `Abc.md`.

See also this thread:

> [@Templater: open file in new tab and append to end of file](https://forum.obsidian.md/t/templater-open-file-in-new-tab-and-append-to-end-of-file/69519/9):
>
> Found some good stuff here, thanks to the participants. I changed some of the script to suit my needs: I found that if these temporary queries are above the main content, they are less likely to start querying the page again and again when I move my cursor to edit the material and come back to the top to check and click on results. \<%\* const files = app.vault.getMarkdownFiles().map(file =\> { const fileCache = app.metadataCache.getFileCache(file); if (fileCache?.frontmatter?.aliases) { …

---

_[View the full topic](https://forum.obsidian.md/t/obsidian-editor-help-to-navigate-to-line-based-on-match-from-dataviewjs-table/68890)._
