Permalink
Browse files

Added support for Caret (^)

  • Loading branch information...
adityaapte committed Jan 9, 2018
1 parent 2953039 commit 117770fbc210dbcf5dc04c3bf628b76ceddd8629
Showing with 4 additions and 1 deletion.
  1. +4 −1 CERR_Data_Extraction/repSpaceHyp.m
@@ -41,7 +41,10 @@
indColon = findstr(str,':');
indStar = findstr(str,'*');
indHash = findstr(str,'#');
indToReplace = [indSpace indOpenParan indCloseParan indPlus indMinus indPercent indComma indBackSlash indFwdSlash indEqualTo indQuestion indAnd indColon indStar indHash];
indCaret = findstr(str,'^');
indToReplace = [indSpace indOpenParan indCloseParan indPlus indMinus ...
indPercent indComma indBackSlash indFwdSlash indEqualTo indQuestion ...
indAnd indColon indStar indHash indCaret];
str(indToReplace) = '_';
indGreaterThan = findstr(str,'>');
indLessThan = findstr(str,'<');

0 comments on commit 117770f

Please sign in to comment.