Regulärer Ausdruck ??

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Regulärer Ausdruck ??

    Hallo zusammen,

    Kann mir bitte jemand sagen, was die Zeile macht ?
    PHP Code:
    $val preg_replace("/\\\/""\\\\\\"$val); 
    Ein Teil wird verschluckt:
    preg_replace("/\\\/", "\\\\\\", $val)
    Also was wird da durch was ersetzt ?

    Vielleicht hat jemand btw noch einen Link zu einen TUT zum Thema "Reguläre Ausdrücke" .

    Gruß jogi
    Last edited by jogisarge; 13-09-2007, 14:44.

  • #2
    GOOGLE ?!?
    -> It`s good to be bad! <-

    http://de.php.net
    http://php-faq.de
    http://www.schattenbaum.net
    http://www.dreamcodes.com

    Comment


    • #3
      spontan würd ich sagen dein Regex ersetzt einen Backslash durch 3
      it's not a bug,
      it's a feature!

      Comment

      Working...