@@ -10,18 +10,18 @@ TerminusDB allows _regular path expressions_ as a way to describe multihop searc
10
10
11
11
The syntax of path expressions, for expressions ` A ` , ` B ` and fields ` F ` is as follows:
12
12
13
- | Expression | Example | Name | Description |
14
- | ---------- | ------------- | -------- | ---------------------------------------------------------------- |
15
- | ` A,B ` | ` friend,name ` | Sequence | First follow expression ` A ` , then from that node expression ` B ` |
16
- | ` A\|B ` | ` friend\|foe ` | Choice | Follow expression ` A ` or expression ` B ` |
17
- | ` F+ ` | ` friend+ ` | Plus | Follow the field ` F ` any number of times, but at least once |
18
- | ` F* ` | ` friend* ` | Star | Follow the field ` F ` any number of times, including zero |
19
- | ` . ` | ` . ` | Any | Follow any field ` F ` regardless of name |
20
- | ` F ` | ` friend ` | Field | Follow the field ` F ` |
21
- | ` F{n,m} ` | ` friend{1,3} ` | Times | Follow the field ` F ` between ` n ` and ` m ` times |
22
- | ` (A) ` | \ ` (friend | foe)\` | Group |
23
- | ` F> ` | ` friend> ` | Forward | Follow the field ` F ` forward. This is the same as ` F ` . |
24
- | ` <F ` | ` <friend ` | Backward | Follow the field ` F ` backward (who is linked to this node by ` F ` |
13
+ | Expression | Example | Name | Description |
14
+ | ---------- | --------------- | -------- | ---------------------------------------------------------------- |
15
+ | ` A,B ` | ` friend,name ` | Sequence | First follow expression ` A ` , then from that node expression ` B ` |
16
+ | ` A\|B ` | ` friend\|foe ` | Choice | Follow expression ` A ` or expression ` B ` |
17
+ | ` F+ ` | ` friend+ ` | Plus | Follow the field ` F ` any number of times, but at least once |
18
+ | ` F* ` | ` friend* ` | Star | Follow the field ` F ` any number of times, including zero |
19
+ | ` . ` | ` . ` | Any | Follow any field ` F ` regardless of name |
20
+ | ` F ` | ` friend ` | Field | Follow the field ` F ` |
21
+ | ` F{n,m} ` | ` friend{1,3} ` | Times | Follow the field ` F ` between ` n ` and ` m ` times |
22
+ | ` (A) ` | ` (friend\| foe) ` | Group | Group the expression for inclusion in a larger expression |
23
+ | ` F> ` | ` friend> ` | Forward | Follow the field ` F ` forward. This is the same as ` F ` . |
24
+ | ` <F ` | ` <friend ` | Backward | Follow the field ` F ` backward (who is linked to this node by ` F ` |
25
25
26
26
### Example: Ancestry
27
27
0 commit comments