phpbar.de logo

Mailinglisten-Archive

[php] Email Addy aus Strings holen

[php] Email Addy aus Strings holen

Thomas Beckmann php_(at)_phpcenter.de
Wed, 04 Jul 2001 22:35:11 +0200


>> die Meldung, sie w=E4ren ung=FCltig. Meine Vermutung ist, da=DF ich
>> die < > Zeichen anders angeben mu=DF. Liege ich da richtig? Wenn ja,
>> wie?
>
>Das w=FCrde mich auch interessieren, hab gestern =E4hnliches Problem mit=
=20
>der Pipe | gehabt. Hab aber noch leider keine Hinweise f=FCr solche=20
>Sonderzeichen gefunden - kennt da jemand was?

=46=FCr den | von Christian stimmt das, die <> wohl nicht, jedenfalls =
wenn
das manual recht hat ...

Und dort sieht man auch: \| liefert das Literal | ...
Man nennt die Dinger =FCbrigens meta character ...

--- snip

     There are two different sets of meta-characters: those  that
     are  recognized anywhere in the pattern except within square
     brackets, and those that are recognized in square  brackets.
     Outside square brackets, the meta-characters are as follows:

       \      general escape character with several uses
       ^      assert start of  subject  (or  line,  in  multiline
     mode)
       $      assert end of subject (or line, in multiline mode)
       .      match any character except newline (by default)
       [      start character class definition
       |      start of alternative branch
       (      start subpattern
       )      end subpattern
       ?      extends the meaning of (
              also 0 or 1 quantifier
              also quantifier minimizer
       *      0 or more quantifier
       +      1 or more quantifier
       {      start min/max quantifier

     Part of a pattern that is in square  brackets  is  called  a
     "character  class".  In  a  character  class  the only meta-
     characters are:

       \      general escape character
       ^      negate the class, but only if the first character
       -      indicates character range
       ]      terminates the character class



---
Thomas Beckmann, Kiel, Germany
beckmann_(at)_gis.de


php::bar PHP Wiki   -   Listenarchive