diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2013-12-05 23:47:58 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2013-12-05 23:47:58 -0800 |
commit | 43fa874fd295b2c765cddd14939a60a47e190148 (patch) | |
tree | 19e9205efe84ec5b66e1b0b47f8bf732edde9909 /regex.h | |
parent | f128b3e3f1ab9fb724d09486b59ae2a2b4cab29c (diff) | |
download | txr-43fa874fd295b2c765cddd14939a60a47e190148.tar.gz txr-43fa874fd295b2c765cddd14939a60a47e190148.tar.bz2 txr-43fa874fd295b2c765cddd14939a60a47e190148.zip |
* regex.c (regex_compile): Handle string input.
* regex.h (regex_compile): Don't call argument
regex_sexp, since it can be a string.
* txr.1: Updated.
Diffstat (limited to 'regex.h')
-rw-r--r-- | regex.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -27,7 +27,7 @@ extern val space_k, digit_k, word_char_k; extern val cspace_k, cdigit_k, cword_char_k; -val regex_compile(val regex_sexp); +val regex_compile(val regex); val regexp(val); val search_regex(val haystack, val needle_regex, val start_num, val from_end); val match_regex(val str, val regex, val pos); |