summaryrefslogtreecommitdiffstats
path: root/regex.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2013-12-05 23:47:58 -0800
committerKaz Kylheku <kaz@kylheku.com>2013-12-05 23:47:58 -0800
commit43fa874fd295b2c765cddd14939a60a47e190148 (patch)
tree19e9205efe84ec5b66e1b0b47f8bf732edde9909 /regex.h
parentf128b3e3f1ab9fb724d09486b59ae2a2b4cab29c (diff)
downloadtxr-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/regex.h b/regex.h
index 962a2846..c75b44f1 100644
--- a/regex.h
+++ b/regex.h
@@ -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);