瀏覽代碼

transformations: fixed examples for {s.replace,a,c}

Daniel-Constantin Mierla 5 月之前
父節點
當前提交
a885a79b8e
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      docs/cookbooks/6.0.x/transformations.md
  2. 1 1
      docs/cookbooks/devel/transformations.md

+ 1 - 1
docs/cookbooks/6.0.x/transformations.md

@@ -299,7 +299,7 @@ Example:
 
 
 ``` c
 ``` c
 $var(x) = "abababa";
 $var(x) = "abababa";
-$(var(x){s.replace,a,c} => "cbcbcbc"
+$(var(x){s.replace,a,c}) => "cbcbcbc"
 ```
 ```
 
 
 ### {s.ftime,format}
 ### {s.ftime,format}

+ 1 - 1
docs/cookbooks/devel/transformations.md

@@ -299,7 +299,7 @@ Example:
 
 
 ``` c
 ``` c
 $var(x) = "abababa";
 $var(x) = "abababa";
-$(var(x){s.replace,a,c} => "cbcbcbc"
+$(var(x){s.replace,a,c}) => "cbcbcbc"
 ```
 ```
 
 
 ### {s.ftime,format}
 ### {s.ftime,format}