summaryrefslogtreecommitdiff
path: root/src/regex.ur
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbaren@mit.edu>2015-07-30 17:26:16 -0400
committerGravatar Benjamin Barenblat <bbaren@mit.edu>2015-07-30 17:26:16 -0400
commit655f2bc59e11ccd16229f2e7474b013e585192fb (patch)
tree266f59b5894d7aee96441f5f9da8e1e474fbcb03 /src/regex.ur
parent285053f45f39752e46899a9e99f1cfe1ca76165c (diff)
Implement regex substitution
Diffstat (limited to 'src/regex.ur')
-rw-r--r--src/regex.ur2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/regex.ur b/src/regex.ur
index cc039e2..8d099ca 100644
--- a/src/regex.ur
+++ b/src/regex.ur
@@ -37,3 +37,5 @@ fun match regex input =
Some (loop 0)
end
end
+
+val replace = FFI.replace