diff --git a/pkg/yqlib/doc/operators/select.md b/pkg/yqlib/doc/operators/select.md index 67b91f85..2de0df52 100644 --- a/pkg/yqlib/doc/operators/select.md +++ b/pkg/yqlib/doc/operators/select.md @@ -62,7 +62,7 @@ going ``` ## Select elements from array with regular expression -See more regular expression examples under the `string` operator docs. +See more regular expression examples under the [`string` operator docs](https://mikefarah.gitbook.io/yq/operators/string-operators). Given a sample.yml file of: ```yaml diff --git a/pkg/yqlib/operator_select_test.go b/pkg/yqlib/operator_select_test.go index ef208ad4..02357c2e 100644 --- a/pkg/yqlib/operator_select_test.go +++ b/pkg/yqlib/operator_select_test.go @@ -57,7 +57,7 @@ var selectOperatorScenarios = []expressionScenario{ }, { description: "Select elements from array with regular expression", - subdescription: "See more regular expression examples under the `string` operator docs.", + subdescription: "See more regular expression examples under the [`string` operator docs](https://mikefarah.gitbook.io/yq/operators/string-operators).", document: `[this_0, not_this, nor_0_this, thisTo_4]`, expression: `.[] | select(test("[a-zA-Z]+_[0-9]$"))`, expected: []string{