diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-12-01 06:59:17 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-12-01 06:59:17 -0800 |
commit | 40b56cf6878999799fff36b7f8d719de8d196d58 (patch) | |
tree | f3115f9863dff5410f8e36be4f93f7863e226645 /regex.h | |
parent | 4dec6b260812d1a30095aa24837730b50a661c17 (diff) | |
download | txr-40b56cf6878999799fff36b7f8d719de8d196d58.tar.gz txr-40b56cf6878999799fff36b7f8d719de8d196d58.tar.bz2 txr-40b56cf6878999799fff36b7f8d719de8d196d58.zip |
Adding functions fr^$, fr^, fr$ and frr.
* regex.c (regex_range_full_fun, regex_range_left_fun,
regex_range_right_fun, regex_range_search_fun): New functions.
(regex_init): Register fr^$, fr^, fr$ and frr intrinsics.
* txr.1: Documented.
Diffstat (limited to 'regex.h')
-rw-r--r-- | regex.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -55,6 +55,10 @@ val regex_range_left(val regex, val arg1, val arg2); val regex_range_right(val regex, val arg1, val arg2); val regex_range_search(val regex, val arg1, val arg2, val arg3); val regex_range_all(val regex, val arg1, val arg2, val arg3); +val regex_range_full_fun(val regex, val pos); +val regex_range_left_fun(val regex, val pos); +val regex_range_right_fun(val regex, val end); +val regex_range_search_fun(val regex, val start, val from_end); int wide_display_char_p(wchar_t ch); void regex_init(void); void regex_free_all(void); |