You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by se...@apache.org on 2004/03/24 04:23:00 UTC

cvs commit: jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/parser RegexpHTMLParser.java

sebb        2004/03/23 19:23:00

  Modified:    src/protocol/http/org/apache/jmeter/protocol/http/parser
                        RegexpHTMLParser.java
  Log:
  Don't match attributes beginning with \
  
  Revision  Changes    Path
  1.17      +3 -3      jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/parser/RegexpHTMLParser.java
  
  Index: RegexpHTMLParser.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/parser/RegexpHTMLParser.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- RegexpHTMLParser.java	11 Feb 2004 22:43:06 -0000	1.16
  +++ RegexpHTMLParser.java	24 Mar 2004 03:23:00 -0000	1.17
  @@ -82,7 +82,7 @@
        * in the web and all browsers seem to understand them.
        */
       private static final String VALUE=
  -        "\\s*=\\s*(?:\"([^\"]*)\"|'([^']*)'|([^\"'\\s>][^\\s>]*)(?=[\\s>]))";
  +        "\\s*=\\s*(?:\"([^\"]*)\"|'([^']*)'|([^\"'\\s>\\\\][^\\s>]*)(?=[\\s>]))";
               // Note there's 3 capturing groups per value
   
       /**
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org