Update website/docs/language/functions (#227)

Signed-off-by: Marcin Białoń <mbialon@spacelift.io>
This commit is contained in:
Marcin Białoń
2023-08-30 14:59:37 +02:00
committed by GitHub
parent 19c658c516
commit 554f303899
101 changed files with 312 additions and 388 deletions

View File

@@ -15,7 +15,7 @@ to a string and returns a list of all matches.
regexall(pattern, string)
```
`regexall` is a variant of [`regex`](/terraform/language/functions/regex) and uses the same pattern
`regexall` is a variant of [`regex`](/opentf/language/functions/regex) and uses the same pattern
syntax. For any given input to `regex`, `regexall` returns a list of whatever
type `regex` would've returned, with one element per match. That is:
@@ -48,10 +48,10 @@ false
## Related Functions
- [`regex`](/terraform/language/functions/regex) searches for a single match of a given pattern, and
- [`regex`](/opentf/language/functions/regex) searches for a single match of a given pattern, and
returns an error if no match is found.
If Terraform already has a more specialized function to parse the syntax you
If OpenTF already has a more specialized function to parse the syntax you
are trying to match, prefer to use that function instead. Regular expressions
can be hard to read and can obscure your intent, making a configuration harder
to read and understand.