improved PHP parser
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / phpeditor / php / HTMLWordExtractor.java
index d1c86b4..7c950b0 100644 (file)
@@ -67,7 +67,7 @@ public class HTMLWordExtractor {
 
       while (position < length) {
         character = document.getChar(position);
-        if (!Character.isJavaIdentifierPart(character))
+        if (!Scanner.isPHPIdentifierPart(character))
           break;
         ++position;
       }