Jump to content


Photo

PCRE


  • Please log in to reply
5 replies to this topic

#1 bilis_money

bilis_money
  • Members
  • PipPipPip
  • Advanced Member
  • 621 posts

Posted 14 June 2006 - 03:59 PM

hi, i was reading the regex pattern manual on php and i found
this word --> "PCRE" i tried the manual to search for the meaning of
this word and i can't find it.

so what is it by the way "PCRE" the meaning please?

thank you.

#2 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 14 June 2006 - 04:08 PM

The best placed to go if you dont understand a meaning of something is to head over to wikipedia! Anyway PCRE stands for Perl Compatible Regular Expressions

Here is an [a href=\"http://en.wikipedia.org/wiki/PCRE\" target=\"_blank\"]an explanation too[/a]

Also I swer php.net mentions what PCRE stands for. yeah I thought so, [a href=\"http://uk2.php.net/manual/en/ref.pcre.php\" target=\"_blank\"]php.net explains it here[/a]

#3 bilis_money

bilis_money
  • Members
  • PipPipPip
  • Advanced Member
  • 621 posts

Posted 14 June 2006 - 04:12 PM

thanks for the fast reply wildteen88
you are really wild, he, he, he :)

I know the RE means but PC it's a no, no to me. :)

thanks anyway...


#4 trq

trq
  • Staff Alumni
  • Advanced Member
  • 31,041 posts

Posted 14 June 2006 - 04:34 PM

[!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]I know the RE means but PC it's a no, no to me. :)[/quote]
What?

PC stands for Perl Compatible.

Perl is another programming language, with extensive support for Regular Expressions.

#5 bilis_money

bilis_money
  • Members
  • PipPipPip
  • Advanced Member
  • 621 posts

Posted 14 June 2006 - 04:54 PM

you don't need to answer that again thorpe.
i already read wildteen's answers. i assume that i haven't read wildteen's
answers i'm just pretending.

hey, thorpe i saw you on phpbuilder.com/board/

is that you also on phpbuilder? coz it has the same avatar.



#6 Koobi

Koobi
  • Staff Alumni
  • Advanced Member
  • 419 posts
  • LocationColombo, Sri Lanka | South Asia

Posted 14 June 2006 - 06:43 PM

just to let you know, the other famous regular expression "type" is called POSIX (google tells me that this stands for: Portable Operating System Interface for X).

POSIX is less powerful than PCRE but POSIX modern is an extended version of the traditional POSIX but it's still considered less feature rich than POSIX.

if you've used 'grep' in a Linux/UNIX terminal, you've probably used a POSIX style regexp.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users