summaryrefslogtreecommitdiffstats
path: root/regex.c
diff options
context:
space:
mode:
Diffstat (limited to 'regex.c')
-rw-r--r--regex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regex.c b/regex.c
index 6c2a914d..60f5cd2d 100644
--- a/regex.c
+++ b/regex.c
@@ -1724,7 +1724,7 @@ val match_regex(val str, val reg, val pos)
return nil;
}
-val regsub(val str, val regex, val repl)
+val regsub(val regex, val repl, val str)
{
list_collect_decl (out, ptail);
val pos = zero;