diff scripts/strings/regexptranslate.m @ 10549:95c3e38098bf

Untabify .m scripts
author Rik <code@nomad.inbox5.com>
date Fri, 23 Apr 2010 11:28:50 -0700
parents 58604c45ca74
children 693e22af08ae
line wrap: on
line diff
--- a/scripts/strings/regexptranslate.m	Fri Apr 23 11:13:48 2010 -0700
+++ b/scripts/strings/regexptranslate.m	Fri Apr 23 11:28:50 2010 -0700
@@ -58,12 +58,12 @@
     op = tolower (op);
     if (strcmp ("wildcard", op))
       y = regexprep (regexprep (regexprep (x, "\\.", "\\."), "\\*",
-				".*"), "\\?", ".");
+                                ".*"), "\\?", ".");
     elseif (strcmp ("escape", op))
       ch = {'\$', '\.', '\?', '\[', '\]'};
       y = x;
       for i = 1 : length (ch)
-	y = regexprep (y, ch{i}, ch{i});
+        y = regexprep (y, ch{i}, ch{i});
       endfor
     else
       error ("regexptranslate: unexpected operation");