diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2020-07-22 19:57:42 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2020-07-22 19:57:42 -0700 |
commit | e0092558ad119f9a3c16b9f357e7ca0dcdf1044c (patch) | |
tree | 26fd17118ef8a6cb0b3410cb93cc70cad9eb0978 /txr.1 | |
parent | 9c2fcf3aeae6cd112a1e5b5e8374a03cf5217c9b (diff) | |
download | txr-e0092558ad119f9a3c16b9f357e7ca0dcdf1044c.tar.gz txr-e0092558ad119f9a3c16b9f357e7ca0dcdf1044c.tar.bz2 txr-e0092558ad119f9a3c16b9f357e7ca0dcdf1044c.zip |
New sspl function.
* eval (eval_init): Register sspl, an argument-reversed
interface to split-str-set.
* lib.c (sspl): New function.
* lib.h (sspl): Declared.
* txr.1: Documented.
Diffstat (limited to 'txr.1')
-rw-r--r-- | txr.1 | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -23417,9 +23417,10 @@ family, in the common situation when .meta string is the unbound argument. -.coNP Function @ split-str-set +.coNP Functions @ split-str-set and @ sspl .synb .mets (split-str-set < string << set ) +.mets (sspl < set << string ) .syne .desc The @@ -23449,6 +23450,14 @@ This operation is nondestructive: .meta string is not modified in any way. +The +.code sspl +function performs the same operation; the only difference between +.code sspl +and +.code split-str-set +is argument order. + .coNP Functions @ tok-str and @ tok-where .synb .mets (tok-str < string < regex <> [ keep-between ]) |