Skip to content

Commit c60e122

Browse files
Merge pull request #6014 from HeidiSteen/heidist-july
[azure search] Annotation language escape sequence updates
2 parents c31c8fb + 5ba0daf commit c60e122

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

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

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.custom:
1010
- ignite-2023
1111
- build-2024
1212
ms.topic: reference
13-
ms.date: 04/15/2025
13+
ms.date: 07/14/2025
1414
---
1515
# Skill context and input annotation language
1616

@@ -106,8 +106,14 @@ Specific elements of an array can be referenced by using their numeric index lik
106106

107107
### Escape sequences
108108

109-
There are two characters that have special meaning and need to be escaped if they appear in an expression and must be interpreted as is instead of as their special meaning: `'/'` and `'~'`.
110-
Those characters must be escaped respectively as `'~0'` and `'~1'`.
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.
110+
111+
| Escape sequence | Special meaning (usage in path syntax) | Example |
112+
|---|---|
113+
| `~0` | Used for escaping `~` | "~0" for `~`, where "~/documents" becomes "~0~1documents"|
114+
| `~1` | Used for escaping `/` | "~1" for `/`, 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" |
116+
111117

112118
## Array enumeration
113119

0 commit comments

Comments
 (0)