On Thu, Oct 23, 2008 at 1:52 AM, William Piper <[EMAIL PROTECTED]> wrote:

> if(preg_match("/(?:titfw|This is the full word)/i",$line)){
>   blah;
> }
> The pipe "|" means "or".
>

thanks - what does the ?:  mean - before the first word ?

I use the ? in other aspects - but not with a semicolon...


-- 
G
NZ community groups - [EMAIL PROTECTED]
Freecycle Auckland :-
http://groups.yahoo.com/group/AucklandFreecycle/

Reply via email to