Re: preg_replace help

From: Janwillem Borleffs (jw_at_jwscripts.com)
Date: 10/21/04


Date: Thu, 21 Oct 2004 13:41:31 +0200

Harrie Verveer wrote:
> Hi,
>
> at school I already learned about regular expressions, however the
> notation was totally different from the notation in php (for example in
> preg_replace). Can someone tell me how I have to read things like
> "/\s+/"? Anyone knows a good tutorial or explaining website about those
> regular expressions?
>

Search for the Meta-characters section on:

http://nl3.php.net/manual/en/reference.pcre.pattern.syntax.php

JW



Relevant Pages

  • Re: terminological problem (EBNF & regular expressions)
    ... And the other notation is widely used also (e.g. Microsoft guide to ... > I am looking for a word for this kind of regular expressions. ... > to emphasize, that one has not to learn a new grammar, to use the ... Yes, this is more concise, but it's new to me and therefore I would ...
    (comp.compilers)
  • preg_replace help
    ... at school I already learned about regular expressions, ... notation was totally different from the notation in php (for example in ...
    (alt.php)
  • Re: terminological problem (EBNF & regular expressions)
    ... Because of my terminologic problem I could not explain my terminologic ... that regular expressions are written with a notation using ... It is a strong feature of your lexer grammar, ...
    (comp.compilers)
  • Re: Looking for some help understanding sed and regular expressions
    ... > Sed recognizes the \notation. ... replacement string. ... regular expressions. ... See "man 7 regex" and "man ed". ...
    (comp.unix.misc)
  • Re: PHP global namespace clogged up
    ... >> the OO side of PHP for many months after I first started learning it. ... >> notation may strenghten one of PHP's weaknesses, ... > to climb - one for the procedural syntax and one for the OO syntax. ...
    (comp.lang.php)