Skip to content

Commit 49cabb5

Browse files
authored
Document \. for regex function (hashicorp#37014)
1 parent ee3a518 commit 49cabb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/docs/language/functions/regex.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ of the pattern must be escaped as `\\`.
8686
| `(x)` | unnamed capture group for sub-pattern `x` |
8787
| `(?P<name>x)` | named capture group, named `name`, for sub-pattern `x` |
8888
| `(?:x)` | non-capturing sub-pattern `x` |
89-
| `\*` | Literal `*` for any punctuation character `*` |
89+
| `\*` | Literal `*` for any punctuation character `*` For example, `\.` is a literal `.` |
9090
| `\Q...\E` | Literal `...` for any text `...` as long as it does not include literally `\E` |
9191

9292
In addition to the above matching operators that consume the characters they

0 commit comments

Comments
 (0)