Skip to content

Commit bfa0ae2

Browse files
committed
take 3
1 parent 024c3e4 commit bfa0ae2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/search/cognitive-search-skill-annotation-language.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -106,13 +106,13 @@ Specific elements of an array can be referenced by using their numeric index lik
106106

107107
### Escape sequences
108108

109-
There are three characters that have a special meaning and need to be escaped if they are to be interpreted as-is instead of a syntax element:
109+
There are several characters that have a special meaning and need to be escaped if they are to be interpreted as-is instead of a syntax element. These characters include `#`, `/`, and `~` among others.
110110

111-
|Value|Special meaning (usage in path syntax) |Escape sequence| Example for usage in string |
112-
|---|---|---|---|
113-
| `#` | Used in array enumeration | ~2 | "~2#~2" |
114-
| `/` | Used in node paths | ~1 | "~1/~1" |
115-
| `~` | Used for escaping other special characters within a JSON Pointer path | ~0 | "~0~~0" |
111+
| Escape sequence | Special meaning (usage in path syntax) | Example |
112+
|---|---|
113+
| ~0 | Used for escaping `~` | "~0" where "~/documents" becomes "~0~1documents"|
114+
| ~1 | Used for escaping `/` | "~1" where "~/documents" becomes "~0~1documents" |
115+
| ~2 | Used for generically to escape arbitrary sequences (including but not limited to `#` and `*`) | "~2#~2" where "readme#requirements" becomes "readme~2#~2requirements" |
116116

117117

118118
## Array enumeration

0 commit comments

Comments
 (0)