Repository: vectordotdev/vector (language: rust)

Issue:
vrl/docs: parse_regex_all list incorrect failure reason
### A note for the community

<!-- Please keep this note for the community -->
* Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request
* If you are interested in working on this issue or have submitted a pull request, please leave a comment
<!-- Thank you for keeping this note for the community -->


### Problem

The docs say `parse_regex_all` is fallible when

> `value` fails to parse using the provided `pattern`

Unlike `parse_regex`, however, this function only checks that `value` is the `Value::Bytes` variant. It returns an empty array when there are no matches.

### Configuration

_No response_

### Version

n/a

### Debug Output

_No response_

### Example Data

_No response_

### Additional Context

_No response_

### References

_No response_


Discussion / hints:

Fix patch:
diff --git a/website/cue/reference/remap/functions/parse_regex_all.cue b/website/cue/reference/remap/functions/parse_regex_all.cue
index 98f3d294cb617..f41abe434e37f 100644
--- a/website/cue/reference/remap/functions/parse_regex_all.cue
+++ b/website/cue/reference/remap/functions/parse_regex_all.cue
@@ -33,9 +33,7 @@ remap: functions: parse_regex_all: {
 			type: ["regex"]
 		},
 	]
-	internal_failure_reasons: [
-		"`value` fails to parse using the provided `pattern`.",
-	]
+	internal_failure_reasons: []
 	return: {
 		types: ["array"]
 		rules: [


Test patch: