You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -506,6 +506,8 @@ your regular expressions.
506
506
> If you want your regular expression itself to be case insensitive, consider
507
507
> setting the case-insensitive flag `(?i)` at the start of your expression.
508
508
509
+
When using the [YAML Sequence syntax](#syntax) as the argument, a [regexp template](https://pkg.go.dev/regexp#Regexp.Expand) can be supplied optionally as a single string-to-string mapping in the sequence. Refer to the `Bernoulli` example below for a demonstration of pattern group reordering. Note that a templated rewrite will be returned wholly as the sorting key.
0 commit comments