diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2023-09-01 19:26:35 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2023-09-01 19:26:35 -0700 |
commit | 9c0e5743188588ece98197880a3f1174170dc563 (patch) | |
tree | 6e94c391062b28a5277025bdeac9127fdc483483 /lib.h | |
parent | 43f64bd2d69cf39d09c4a3b96cd28d0966a6eda6 (diff) | |
download | txr-9c0e5743188588ece98197880a3f1174170dc563.tar.gz txr-9c0e5743188588ece98197880a3f1174170dc563.tar.bz2 txr-9c0e5743188588ece98197880a3f1174170dc563.zip |
New function: str-esc.
* lib.[ch] (str_esc): New function.
* eval.c (eval_init): str-esc intrinsic registered.
* tests/015/esc.tl: New file.
* txr.1: Documented.
Diffstat (limited to 'lib.h')
-rw-r--r-- | lib.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1077,6 +1077,7 @@ val tokn(val count, val tok_regex, val arg1, val arg2); val tok_where(val str, val tok_regex); val list_str(val str); val trim_str(val str); +val str_esc(val escset, val escchr, val str); val cmp_str(val astr, val bstr); val str_eq(val astr, val bstr); val str_lt(val astr, val bstr); |