You are here: Re: Re: e pattern modifier « PHP Language « IT news, forums, messages
Re: Re: e pattern modifier

Posted by steve on 06/21/05 00:36

"R. Rajesh Jeba Anb1" wrote:
> steve wrote:
> > Can someone give me an example of using the 'e' pattern
> modifier in
> > php regex:
> > http://www.php.net/manual/en/reference.pcre.pattern.modifiers.php
> >
> > Thanks in advance. Wish the manual had some examples on
> this one!
>
> http://in2.php.net/preg_replace
>
> --
> <?php echo 'Just another PHP saint'; ?>
> Email: rrjanbiah-at-Y!com Blog:
> http://rajeshanbiah.blogspot.com

I tried to use a function with the �e� flag but it did not work (I had
no problem using a built-in function).

So I used preg_replace_callback instead, and everything works like a
charm.

--
Posted using the http://www.dbforumz.com interface, at author's request
Articles individually checked for conformance to usenet standards
Topic URL: http://www.dbforumz.com/PHP-pattern-modifier-ftopict233538.html
Visit Topic URL to contact author (reg. req'd). Report abuse: http://www.dbforumz.com/eform.php?p=810669

 

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

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