You are here: Re: preg_match - how to match \x00 (null)? « PHP Programming Language « IT news, forums, messages
Re: preg_match - how to match \x00 (null)?

Posted by Yandos on 06/07/06 08:48

Mladen Gogala <gogala@sbcglobal.net> wrote in news:pan.2006.06.07.07.58.37.753254
@sbcglobal.net:

> On Tue, 06 Jun 2006 14:23:24 -0700, Chung Leong wrote:
>
>> $replacestring='/\x00\x01\x02\x03/im';
>
> Why do you use multi-line matching and what will ignoring case buy you
> here?
>

Thanks for comment, that's perhaps not necessary, but I'm used to do regexps that way. I'm not a
regexp guru and once something did not worked when I have not used ignore case and multiline
switches, so now I'm using em everywhere - no harm in writing 2 more letters ;) )

Y.

--
sorry for any ads below :(

Inviato da X-Privat.Org - Registrazione gratuita http://www.x-privat.org/join.php

 

Navigation:

[Reply to this 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

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