Skip to content

Commit

Permalink
fix(docs): Function calls regex example (#2306)
Browse files Browse the repository at this point in the history
This fixes a wrong example of usage of the "regexmatch" function in the function call documentation.
According to https://blacksmithgu.github.io/obsidian-dataview/reference/expressions/ the usage should be regexmatch(regex, str)
  • Loading branch information
juelg authored Apr 24, 2024
1 parent 2642d87 commit 0c54ac0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/reference/expressions.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ TABLE id, episode_metadata.next, aliases[0]

Dataview supports various functions for manipulating data, which are described in full in the [functions
documentation](../functions). They have the general syntax `function(arg1, arg2, ...)` - i.e., `lower(file.name)` or
`regexmatch(file.folder, "A.+")`.
`regexmatch("A.+", file.folder)`.

~~~
```dataview
Expand Down

0 comments on commit 0c54ac0

Please sign in to comment.