improved PHP parser
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / externaltools / model / StringMatcher.java
index 988f842..e4c530b 100644 (file)
@@ -9,7 +9,7 @@ http://www.eclipse.org/legal/cpl-v10.html
 import java.util.Vector;
 
 /**
- * Copied from org.eclipse.jdt.internal.ui.util.StringMatcher
+ * Copied from net.sourceforge.phpdt.internal.ui.util.StringMatcher
  * 
  *  A string pattern matcher, suppporting * and ? wildcards.
  */
@@ -44,8 +44,8 @@ public class StringMatcher {
        }
        /**
         * StringMatcher constructor takes in a String object that is a simple
-        * pattern which may contain ‘*’ for 0 and many characters and
-        * ‘?’ for exactly one character.
+        * pattern which may contain �*� for 0 and many characters and
+        * �?� for exactly one character.
         *
         * Literal '*' and '?' characters must be escaped in the pattern
         * e.g., "\*" means literal "*", etc.
@@ -222,7 +222,7 @@ public class StringMatcher {
        }
        /**
         * Parses the given pattern into segments seperated by wildcard '*' characters.
-        * @param p, a String object that is a simple regular expression with ‘*’ and/or ‘?’
+        * @param p, a String object that is a simple regular expression with �*� and/or �?�
         */
        private void parseWildCards() {
                if(fPattern.startsWith("*"))//$NON-NLS-1$