diff options
Diffstat (limited to 'src/regex__FFI.cc')
-rw-r--r-- | src/regex__FFI.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regex__FFI.cc b/src/regex__FFI.cc index 57d4ce8..e3ff601 100644 --- a/src/regex__FFI.cc +++ b/src/regex__FFI.cc @@ -151,8 +151,8 @@ uw_Regex__FFI_match uw_Regex__FFI_do_match(uw_context* const context, uw_Basis_string uw_Regex__FFI_replace(uw_context* const context, const uw_Basis_string needle_string, - const uw_Basis_string haystack, - const uw_Basis_string replacement) { + const uw_Basis_string replacement, + const uw_Basis_string haystack) { std::regex needle = Compile(context, needle_string); // Perform the replacement. std::string result; |