Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Uppercase and lowercase options included for rekey() #120

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions Content/Guides/shared/chunk/option-value-pairs.htm
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,11 @@ <h6>Example: Using the value-pairs() option</h6>
<p>Replaces a substring at the beginning of the key with another string. Only prefixes can be replaced. For example, <span class="Code">replace-prefix(".class", ".patterndb")</span> changes the beginning tag <span class="Code">.class</span> to <span class="Code">.patterndb</span></p>
<p MadCap:conditions="General.OSE">This option was called <span class="Code">replace()</span> in <MadCap:variable name="General.abbrev"></MadCap:variable> version 3.4.</p>
</li>
<li oldrole="varlistentry"><span class="Code">lower</span>
<MadCap:keyword term="lower">
</MadCap:keyword>
<p>Converts all keys to lowercase. Only characters included in the US ASCII are supported.</p>
</li>
<li oldrole="varlistentry"><span class="Code">shift("&lt;number&gt;")</span>
<MadCap:keyword term="shift()">
</MadCap:keyword>
Expand All @@ -236,6 +241,11 @@ <h6>Example: Using the value-pairs() option</h6>
</MadCap:keyword>
<p>Similar to --shift, but instead of cutting characters, it cuts dot-delimited "levels" in the name (including the initial dot). For example, <span class="Code">--shift-levels 2</span> deletes the prefix up to the second dot in the name of the key: <span class="Code">.iptables.SRC</span> becomes <span class="Code">SRC</span></p>
</li>
<li oldrole="varlistentry"><span class="Code">upper</span>
<MadCap:keyword term="upper">
</MadCap:keyword>
<p>Converts all keys to uppercase. Only characters included in the US ASCII are supported.</p>
</li>
</ul>
<div class="Example">
<h6 name="example-value-pairs-rekey"><a name="example-value-pairs-rekey"></a>Example: Using the rekey() option</h6>
Expand Down