url_scanner.re

From: Date: Tue, 28 Mar 2000 13:48:24 +0000
Subject: url_scanner.re
Groups: php.version4 
Request: Send a blank email to php-version4+get-12755@lists.php.net to get a copy of this message
Hello, i'm trying to fix a bug i reported two weeks ago. (Bug ID #3848) I was able to track it down to url_scanner.re, but i am unable to fix it. I don't know what re2c is and where to get it (and the documentation). What i basicly wanted to change is around line 165: 162 /*!re2c 163 ["]? ws* (all\[> \t\v\f":#])* ws* ["]? { BEGIN(INITIAL); } 164 ["]? ws* (all\[> \t\v\f":#])* /[#] { BEGIN(INITIAL); } 165 ["]? ws* (all\[> \t\v\f"#])* ws* ["]? { 166 /* don't modify absolute links */ 167 state->state = INITIAL; BEGIN(INITIAL); I wanted to add an expression so that empty links (<A HREF=""> for example) do not get modified. Can someone help me with that? -- Mit freundlichem Gruß Thomas Stinner - Billiton Internet Services GbR -------------------------------------------------------------- direct phone: 0179/6997983 direct mail: t.stinner@billiton.de Weitere Informationen finden Sie unter http://www.billiton.de/

« previous php.version4 (#12755) next »