summary refs log tree commit diff
path: root/Functions/Misc/regexp-replace
diff options
context:
space:
mode:
Diffstat (limited to 'Functions/Misc/regexp-replace')
-rw-r--r--Functions/Misc/regexp-replace2
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/Misc/regexp-replace b/Functions/Misc/regexp-replace
index 0d5948075..d4408f0f7 100644
--- a/Functions/Misc/regexp-replace
+++ b/Functions/Misc/regexp-replace
@@ -40,7 +40,7 @@ if (( $4 )); then
     # append offsets and computed replacement to the array
     # we need to perform the evaluation in a scalar assignment so that if
     # it generates an array, the elements are converted to string (by
-    # joining with the first chararacter of $IFS as usual)
+    # joining with the first character of $IFS as usual)
     5=${(e)3}
     argv+=(${(s: :)ZPCRE_OP} "$5")