Skip to content

Commit

Permalink
docs(external docs): Emphasize the $$ rather than $ in config file. (#…
Browse files Browse the repository at this point in the history
…20991)

* docs: Emphasize the $$ rather than $ in config file.

* Update website/cue/reference/remap/functions/replace.cue

Co-authored-by: Ursula Chen <[email protected]>

---------

Co-authored-by: Jesse Szwedko <[email protected]>
Co-authored-by: Ursula Chen <[email protected]>
  • Loading branch information
3 people committed Aug 2, 2024
1 parent 70e61fc commit 210ff09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/cue/reference/remap/functions/replace.cue
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ remap: functions: replace: {
return: "Pineapples and Bananas"
},
{
title: "Replace with capture groups"
title: "Replace with capture groups (Note: Use `$$num` in config files)"
source: #"""
replace("foo123bar", r'foo(?P<num>\d+)bar', "$num")
"""#
Expand Down

0 comments on commit 210ff09

Please sign in to comment.