Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #18433

Re: preg_match(): return vualue

From Allodoxaphobia <trepidation@example.net>
Newsgroups comp.lang.php
Subject Re: preg_match(): return vualue
Date 2020-11-28 18:12 +0000
Message-ID <slrnrs54or.1mca.trepidation@vps.jonz.net> (permalink)
References <rpt2dq$1e5k$1@gioia.aioe.org> <bt5fc20df1i6ef4n3e8%sfroehli@Froehlich.Priv.at> <rptlmg$1vuq$1@gioia.aioe.org>

Show all headers | View raw


On Sat, 28 Nov 2020 15:09:12 +0100, alex wrote:
> Il 28/11/20 09:46, Stefan Froehlich ha scritto:
>> Immediately above the quoted paragraph:
>> 
>> #v+
>> preg_match() returns 1 if the pattern matches given subject, 0 if it
>> does not, or FALSE if an error occurred
>> #v-
>> 
>> A test for (preg_match(...) == 0) will succeed if the match fails OR
>> if an error occurs.
>
> However, the documentation is not easy to understand.

heh...  Documentation rarely is.  :-)

Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

preg_match(): return vualue alex <1j9448a02@lnx159sneakemail.com.invalid> - 2020-11-28 09:40 +0100
  Re: preg_match(): return vualue Stefan+Usenet@Froehlich.Priv.at (Stefan Froehlich) - 2020-11-28 08:46 +0000
    Re: preg_match(): return vualue alex <1j9448a02@lnx159sneakemail.com.invalid> - 2020-11-28 15:09 +0100
      Re: preg_match(): return vualue Allodoxaphobia <trepidation@example.net> - 2020-11-28 18:12 +0000
  Re: preg_match(): return vualue "J.O. Aho" <user@example.net> - 2020-11-28 10:57 +0100
    Re: preg_match(): return vualue alex <1j9448a02@lnx159sneakemail.com.invalid> - 2020-11-28 15:09 +0100

csiph-web