]> git.saurik.com Git - cycript.git/blobdiff - Output.cpp
Regular expressions cannot have alphabetic follow.
[cycript.git] / Output.cpp
index 50740050b40694f718ef41322e3770d1456901f6..cdfe1bd1e4a3c5c8a49c8f3deeb47678dd2549c2 100644 (file)
@@ -99,7 +99,8 @@ CYOutput &CYOutput::operator <<(const char *rhs) {
     )
         out_ << ' ';
 
-    if (WordEndRange_[rhs[size - 1]])
+    char last(rhs[size - 1]);
+    if (WordEndRange_[last] || last == '/')
         mode_ = NoLetter;
     else
         mode_ = NoMode;