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


Groups > comp.lang.php > #16166

Re: How i can get preg_match by url?

From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Newsgroups comp.lang.php
Subject Re: How i can get preg_match by url?
Date 2016-01-09 11:00 +0100
Organization PointedEars Software (PES)
Message-ID <1671039.P7f93VaXz6@PointedEars.de> (permalink)
References <e274c513-b21b-4110-a19a-b45e96327f37@googlegroups.com> <87oacws3f1.fsf@bsb.me.uk> <5360112.uxWD3WdXnq@PointedEars.de>

Show all headers | View raw


Thomas 'PointedEars' Lahn wrote:

>   Text:   http://toilatester.com/category/?xv=foobarbaz
>           ^-------------------------------------------^
>   RE:    ^http://toilatester.com/category/?xv=.*

    PCRE:  ^http://toilatester.com/category/\?xv=.*

>   Match:  http://toilatester.com/category/?xv=foobarbaz
> 
> vs.
> 
>   Text:   http://toilatester.com/category/?xv=foobarbaz
>           ^----------------------------------^
>   RE:    ^http://toilatester.com/category/?xv=

    PCRE:  ^http://toilatester.com/category/\?xv=

>   Match:  http://toilatester.com/category/?xv=

-- 
PointedEars
Zend Certified PHP Engineer 
<http://www.zend.com/en/yellow-pages/ZEND024953> | Twitter: @PointedEars2
Please do not cc me. / Bitte keine Kopien per E-Mail.

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


Thread

How i can get preg_match by url? thaoluangiavang@gmail.com - 2016-01-07 20:03 -0800
  Re: How i can get preg_match by url? "R.Wieser" <address@not.available> - 2016-01-08 10:15 +0100
  Re: How i can get preg_match by url? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-01-08 11:42 +0000
    Re: How i can get preg_match by url? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-01-09 10:55 +0100
      Re: How i can get preg_match by url? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-01-09 11:00 +0100
  Re: How i can get preg_match by url? SM Bestvideo <thaoluangiavang@gmail.com> - 2016-01-08 20:46 -0800
    Re: How i can get preg_match by url? Luuk <luuk@invalid.lan> - 2016-01-09 11:17 +0100

csiph-web