|
Posted by Jerry Stuckle on 09/08/07 03:41
Zenofobe wrote:
> 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.
>
It's used in the very lowest level of many protocols, but by the time
you see it, the STX and related control characters have been stripped.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|