Posted by Zenofobe on 09/08/07 01:53
gosha bine <stereofrog@gmail.com> wrote in news:46e11e53$0$31118
$6e1ede2f@read.cnntp.org:
> On 07.09.2007 09:56 Rik Wasmus wrote:
>
>> ([^\2]+) #match one or more characters in match 3 that are NOT
>> in match 2
>
> [^\2] doesn't mean "negate group 2" as you and the manual people seem to
> think. It means "any character except that with ascii code 2".
Thanks for your help, guys.
This seems strange to me though, why bother matching anything but STX? Is
STX actually used by anything anywhere? Googling seems to indicate that
this is something that printers use, not very useful when parsing HTTP.
--
Posted via a free Usenet account from http://www.teranews.com
[Back to original message]
|