Reply to Re: Regular expression example on PHP.net

Your name:

Reply:


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
==================

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация