- Timestamp:
- 06/12/15 13:50:34 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-plugin-html/src/main/java/de/ugoe/cs/autoquest/plugin/html/HTMLLogParser.java
r1951 r1965 661 661 !"colgroup".equals(tagName) && !"col".equals(tagName) && !"hr".equals(tagName) && 662 662 !"param".equals(tagName) && !"sfmsg".equals(tagName) && 663 !"wappalyzerdata".equals(tagName) ;663 !"wappalyzerdata".equals(tagName)&& !"mytubeelement".equals(tagName); 664 664 665 665 } … … 729 729 */ 730 730 private Pattern htmlElementSpecPattern = Pattern.compile 731 ("(document\\(path=([\\w/\\- #$&%\\.]+)\\))|((\\w+)(\\[(\\d+)\\]|\\(htmlId=([\\w\\-_#]+)\\))?)");731 ("(document\\(path=([\\w/\\-\\^#$&%\\.]+)\\))|((\\w+)(\\[(\\d+)\\]|\\(htmlId=([\\w\\-_#]+)\\))?)"); 732 732 733 733 /** … … 1007 1007 // check if the path condition would match with ignoring specific characters 1008 1008 1009 boolean mustMatchBeginning = pathPart.charAt(0) == '^'; 1009 1010 boolean mustMatchAtEnd = pathPart.charAt(pathPart.length() - 1) == '$'; 1010 1011 1011 1012 int indexInPath = 0; 1012 int indexInPathPart = 0;1013 int indexInPathPart = mustMatchBeginning ? 1 : 0; 1013 1014 1014 1015 while (indexInPath < path.length()) { … … 1025 1026 return true; 1026 1027 } 1028 } 1029 else if (mustMatchBeginning) { 1030 // any mismatch means, we do not match from the beginning 1031 return false; 1027 1032 } 1028 1033 else {
Note: See TracChangeset
for help on using the changeset viewer.