User Tools

Site Tools


cookbooks:5.1.x:transformations

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revision Both sides next revision
cookbooks:5.1.x:transformations [2017/11/18 17:16]
miconda created
cookbooks:5.1.x:transformations [2018/09/04 09:54]
miconda [{s.corehash,n}]
Line 316: Line 316:
 <code c> <code c>
 $(var(x){s.corehash}) $(var(x){s.corehash})
 +</code>
 +
 +==== {s.unquote} ====
 +
 +Return the value without surrounding single (') or double quotes (").
 +
 +<code c>
 +$var(x) = "\"alice\"";
 +$var(alice) = $(var(x){s.unquote});
 </code> </code>
 ===== URI Transformations ===== ===== URI Transformations =====
Line 573: Line 582:
 ==== {re.subst,expression} ==== ==== {re.subst,expression} ====
  
-Perform Perl-like substitutions on string value pseudo-variables.+Perform POSIX regex substitutions on string value pseudo-variables.
  
 <code c> <code c>
cookbooks/5.1.x/transformations.txt ยท Last modified: 2018/09/04 18:58 by miconda