summaryrefslogtreecommitdiff
path: root/doc/usage/cmd/setexpr.rst
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2025-05-29 08:27:13 -0600
committerTom Rini <trini@konsulko.com>2025-05-29 08:27:13 -0600
commit23be77e18d19ddb9c2ecdf71638bacfbc369fd13 (patch)
tree73d82f75a865be88af0e376baa0fc2980f1b4b48 /doc/usage/cmd/setexpr.rst
parent2f3766949bbea7aa5a472157561d387fd94205d2 (diff)
parent6990cc5257283a631a286a4321a3515c7537f636 (diff)
Merge patch series "regex patches"
Rasmus Villemoes <ravi@prevas.dk> says: This started as a rather simple patch, 1/12, adding the ability to more conveniently do regex matching in shell. But with that, it became very easy to see what the slre library can and especially what it cannot do, and that way I found both outright bugs and a "wow, doesn't it support that syntax" gotcha. I couldn't find any tests ('git grep slre -- test/' was empty), so I added a small test suite and tweaked slre.c. Link: https://lore.kernel.org/r/20250513084034.654865-1-ravi@prevas.dk
Diffstat (limited to 'doc/usage/cmd/setexpr.rst')
-rw-r--r--doc/usage/cmd/setexpr.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/usage/cmd/setexpr.rst b/doc/usage/cmd/setexpr.rst
index 593a0ea91e1..5bc37ae50fc 100644
--- a/doc/usage/cmd/setexpr.rst
+++ b/doc/usage/cmd/setexpr.rst
@@ -144,8 +144,9 @@ Configuration
* The *setexpr* command is only available if CMD_SETEXPR=y.
* The *setexpr fmt* sub-command is only available if CMD_SETEXPR_FMT=y.
-* The *setexpr gsub* and *setexpr sub* sub-commands are only available if
- CONFIG_REGEX=y.
+* The *setexpr gsub* and *setexpr sub* sub-commands are only available
+ if CONFIG_REGEX=y. For an overview of the supported regex syntax,
+ see :doc:`test`.
Return value
------------