Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

preg-replace() Flags

23 views
Skip to first unread message

Artist

unread,
Oct 24, 2009, 2:12:37 PM10/24/09
to
I need a reference for all the flags available for the preg-replace()
function:
http://us.php.net/manual/en/function.preg-replace.php

The flags appear after the last / character. In the examples in the
above link there is /i for case insensitive. I need to know what rest of
these flags are and what they do. I have not been able to find a listing
of them.

--
If you desire to respond directly remove the "sj." from the domain name
part of my email address. It is a spam jammer.

Bernhard Mager

unread,
Nov 27, 2009, 5:21:51 AM11/27/09
to
Artist schrieb:

> I need a reference for all the flags available for the preg-replace()
> function:
> http://us.php.net/manual/en/function.preg-replace.php
>
> The flags appear after the last / character. In the examples in the
> above link there is /i for case insensitive. I need to know what rest of
> these flags are and what they do. I have not been able to find a listing
> of them.
>
http://us.php.net/manual/en/reference.pcre.pattern.modifiers.php
0 new messages