Skip to content

Commit

Permalink
deploy: 6ee1667
Browse files Browse the repository at this point in the history
  • Loading branch information
elkowar committed Dec 27, 2024
1 parent 1b01506 commit ea6d483
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 6 deletions.
13 changes: 11 additions & 2 deletions expression_language.html
Original file line number Diff line number Diff line change
Expand Up @@ -228,11 +228,20 @@ <h2 id="features"><a class="header" href="#features">Features</a></h2>
<li><code>search(string, regex)</code>: Search for a given regex in a string (returns array)</li>
<li><code>matches(string, regex)</code>: check if a given string matches a given regex (returns bool)</li>
<li><code>captures(string, regex)</code>: Get the captures of a given regex in a string (returns array)</li>
<li><code>strlength(value)</code>: Gets the length of the string</li>
<li><code>strlength(value)</code>: Gets the length of the string
<ul>
<li><code>substring(string, start, length)</code>: Return a substring of given length starting at the given index</li>
</ul>
</li>
<li><code>arraylength(value)</code>: Gets the length of the array</li>
<li><code>objectlength(value)</code>: Gets the amount of entries in the object</li>
<li><code>jq(value, jq_filter_string)</code>: run a <a href="https://stedolan.github.io/jq/manual/">jq</a> style command on a json value. (Uses <a href="https://crates.io/crates/jaq">jaq</a> internally).</li>
<li><code>jq(value, jq_filter_string)</code>: run a <a href="https://jqlang.github.io/jq/manual/">jq</a> style command on a json value. (Uses <a href="https://crates.io/crates/jaq">jaq</a> internally).</li>
<li><code>jq(value, jq_filter_string, args)</code>: Emulate command line flags for jq, see <a href="https://jqlang.github.io/jq/manual/#invoking-jq">the docs</a> on invoking jq for details. Invalid flags are silently ignored.
Currently supported flags:
<ul>
<li><code>&quot;r&quot;</code>: If the result is a string, it won't be formatted as a JSON string. The equivalent jq flag is <code>--raw-output</code>.</li>
</ul>
</li>
<li><code>get_env(string)</code>: Gets the specified enviroment variable</li>
<li><code>formattime(unix_timestamp, format_str, timezone)</code>: Gets the time in a given format from UNIX timestamp.
Check <a href="https://docs.rs/chrono/latest/chrono/format/strftime/index.html">chrono's documentation</a> for more
Expand Down
13 changes: 11 additions & 2 deletions print.html
Original file line number Diff line number Diff line change
Expand Up @@ -571,11 +571,20 @@ <h2 id="features"><a class="header" href="#features">Features</a></h2>
<li><code>search(string, regex)</code>: Search for a given regex in a string (returns array)</li>
<li><code>matches(string, regex)</code>: check if a given string matches a given regex (returns bool)</li>
<li><code>captures(string, regex)</code>: Get the captures of a given regex in a string (returns array)</li>
<li><code>strlength(value)</code>: Gets the length of the string</li>
<li><code>strlength(value)</code>: Gets the length of the string
<ul>
<li><code>substring(string, start, length)</code>: Return a substring of given length starting at the given index</li>
</ul>
</li>
<li><code>arraylength(value)</code>: Gets the length of the array</li>
<li><code>objectlength(value)</code>: Gets the amount of entries in the object</li>
<li><code>jq(value, jq_filter_string)</code>: run a <a href="https://stedolan.github.io/jq/manual/">jq</a> style command on a json value. (Uses <a href="https://crates.io/crates/jaq">jaq</a> internally).</li>
<li><code>jq(value, jq_filter_string)</code>: run a <a href="https://jqlang.github.io/jq/manual/">jq</a> style command on a json value. (Uses <a href="https://crates.io/crates/jaq">jaq</a> internally).</li>
<li><code>jq(value, jq_filter_string, args)</code>: Emulate command line flags for jq, see <a href="https://jqlang.github.io/jq/manual/#invoking-jq">the docs</a> on invoking jq for details. Invalid flags are silently ignored.
Currently supported flags:
<ul>
<li><code>&quot;r&quot;</code>: If the result is a string, it won't be formatted as a JSON string. The equivalent jq flag is <code>--raw-output</code>.</li>
</ul>
</li>
<li><code>get_env(string)</code>: Gets the specified enviroment variable</li>
<li><code>formattime(unix_timestamp, format_str, timezone)</code>: Gets the time in a given format from UNIX timestamp.
Check <a href="https://docs.rs/chrono/latest/chrono/format/strftime/index.html">chrono's documentation</a> for more
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion searchindex.json

Large diffs are not rendered by default.

0 comments on commit ea6d483

Please sign in to comment.