Unlinked mentions are calculating wrong (regexp issue?)

Unlinked mentions are calculating wrong. This looks to me like a regexp issue.
Here is an example. I create test notes:

test
`test`
[test]
(test)
test (test)

Now I create a note with the following text: test (test). Here is what I see in Calculated mentions of note test.md:

Here is (test).md:

Here is [test].ms:

Here is a test.md (in backquotes):

And here is test (test).md:

Environment

  • Operating system: Catalina 10.15.5
  • Obsidian version: 0.6.5
  • Using custom CSS: no

Additional information

Seems like we forgot to escape regex! Good catch.

Will be fixed in 0.6.6