diff options
Diffstat (limited to 'regex.c')
-rw-r--r-- | regex.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2593,7 +2593,7 @@ val search_regex(val haystack, val needle_regex, val start, if (from_end) { cnum i; cnum s = c_num(start, self); - const wchar_t *h = c_str(haystack); + const wchar_t *h = c_str(haystack, self); slen = (slen ? slen : length_str(haystack)); |