diff liboctave/regex-match.cc @ 10314:07ebe522dac2

untabify liboctave C++ sources
author John W. Eaton <jwe@octave.org>
date Thu, 11 Feb 2010 12:23:32 -0500
parents 4c0cdbe0acca
children 12884915a8e4
line wrap: on
line diff
--- a/liboctave/regex-match.cc	Thu Feb 11 12:16:43 2010 -0500
+++ b/liboctave/regex-match.cc	Thu Feb 11 12:23:32 2010 -0500
@@ -39,7 +39,7 @@
     {
 #if HAVE_REGEX
       for (int i = 0; i < pat.length (); i++)
-	regfree (compiled +i);
+        regfree (compiled +i);
       delete [] compiled;
 #endif
       pat = gm.pat;
@@ -96,10 +96,10 @@
   for (i = 0; i < npat; i++)
     {
       err = regcomp (compiled + i, pat(i).c_str (), 
-		     (REG_NOSUB | REG_EXTENDED |
-		      (case_insen ? REG_ICASE : 0)));
+                     (REG_NOSUB | REG_EXTENDED |
+                      (case_insen ? REG_ICASE : 0)));
       if (err)
-	break;
+        break;
     }
   
   if (err)
@@ -108,10 +108,10 @@
       OCTAVE_LOCAL_BUFFER (char, errmsg, len);
       regerror(err, compiled + i, errmsg, len);
       (*current_liboctave_error_handler) ("%s in pattern (%s)", errmsg, 
-					  pat(i).c_str());
+                                          pat(i).c_str());
 
       for (int j = 0; j < i + 1; j++)
-	regfree (compiled + j);
+        regfree (compiled + j);
     }
 #else
   (*current_liboctave_error_handler)