diff scripts/strings/regexptranslate.m @ 11587:c792872f8942

all script files: untabify and strip trailing whitespace
author John W. Eaton <jwe@octave.org>
date Thu, 20 Jan 2011 17:35:29 -0500
parents fd0a3ac60b0e
children 0ee8d7d60c82
line wrap: on
line diff
--- a/scripts/strings/regexptranslate.m
+++ b/scripts/strings/regexptranslate.m
@@ -26,7 +26,7 @@
 ## @table @asis
 ## @item "wildcard"
 ## The wildcard characters @code{.}, @code{*} and @code{?} are replaced
-## with wildcards that are appropriate for a regular expression. 
+## with wildcards that are appropriate for a regular expression.
 ## For example:
 ##
 ## @example
@@ -35,7 +35,7 @@
 ##      @result{} ".*\.m"
 ## @end group
 ## @end example
-## 
+##
 ## @item "escape"
 ## The characters @code{$.?[]}, that have special meaning for regular
 ## expressions are escaped so that they are treated literally.  For example:
@@ -52,11 +52,11 @@
 ## @end deftypefn
 
 function y = regexptranslate (op, s)
-  
+
   if nargin != 2
     print_usage ();
-  endif 
-  
+  endif
+
   if (ischar (op))
     op = tolower (op);
     if (strcmp ("wildcard", op))