<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Reg.Exp. Problem</title>
    <link>http://forum.geizhals.at/feed.jsp?id=493066</link>
    <description>Geizhals-Forum</description>
    <item>
      <title>Re(2): Reg.Exp. Problem</title>
      <link>http://forum.geizhals.at/t493066,4089807.html#4089807</link>
      <description>Geht anscheinend nicht in PHP &lt;img src="sad.gif" width="16" height="19" align="absmiddle" alt=":-("/&gt;&lt;br&gt;Ich habs trotzdem ausprobiert, aber leider nein.&lt;br&gt;Ich habs nun nicht so elegant mit eigener Routine gelöst.&lt;br&gt;Danke.&lt;br&gt;&lt;br/&gt;</description>
      <pubDate>Thu, 26 Apr 2007 09:57:39 GMT</pubDate>
      <guid>http://forum.geizhals.at/t493066,4089807.html#4089807</guid>
      <dc:creator>jobnavigator</dc:creator>
      <dc:date>2007-04-26T09:57:39Z</dc:date>
    </item>
    <item>
      <title>Re(2): Reg.Exp. Problem</title>
      <link>http://forum.geizhals.at/t493066,4089802.html#4089802</link>
      <description>Danke für den Tipp.&lt;br&gt;&lt;br/&gt;</description>
      <pubDate>Thu, 26 Apr 2007 09:56:17 GMT</pubDate>
      <guid>http://forum.geizhals.at/t493066,4089802.html#4089802</guid>
      <dc:creator>jobnavigator</dc:creator>
      <dc:date>2007-04-26T09:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: Reg.Exp. Problem</title>
      <link>http://forum.geizhals.at/t493066,4088837.html#4088837</link>
      <description>Du kannst das doppelte http vermeiden, indem du es optional mit matchst, also vereinfacht dargestellt (http|) das eben http matcht wenn es da ist oder halt nicht wenn es nicht da ist; es ersetzt dann (sinnloserweise) das http mit oder laesst es eben bleiben.&lt;br/&gt;</description>
      <pubDate>Wed, 25 Apr 2007 18:41:16 GMT</pubDate>
      <guid>http://forum.geizhals.at/t493066,4088837.html#4088837</guid>
      <dc:creator>juwb</dc:creator>
      <dc:date>2007-04-25T18:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: Reg.Exp. Problem</title>
      <link>http://forum.geizhals.at/t493066,4086311.html#4086311</link>
      <description>&lt;blockquote&gt;&lt;em&gt; [^http] &lt;/em&gt;&lt;/blockquote&gt;&lt;br&gt;&lt;br&gt;das schlaegt fehl, weil das eine negierte character class ist, und nicht einfach den string "http" negiert - also auf alles matcht, das nicht in [htp] ist, und das ist viel.&lt;br&gt;&lt;br&gt;was du in dem fall brauchst ist &lt;i&gt;negative look-behind&lt;/i&gt;, k.a. ob das die php regex egine kann. siehe:&lt;br&gt;&lt;br&gt;&lt;a href="http://www.regular-expressions.info/lookaround.html" rel="noopener" target="_blank"&gt;http:/&lt;wbr/&gt;/&lt;wbr/&gt;www.regular-expressions.info/&lt;wbr/&gt;lookaround.html&lt;/a&gt; &lt;br/&gt;</description>
      <pubDate>Tue, 24 Apr 2007 14:12:34 GMT</pubDate>
      <guid>http://forum.geizhals.at/t493066,4086311.html#4086311</guid>
      <dc:creator>japh</dc:creator>
      <dc:date>2007-04-24T14:12:34Z</dc:date>
    </item>
    <item>
      <title>Reg.Exp. Problem</title>
      <link>http://forum.geizhals.at/t493066,4086200.html#4086200</link>
      <description>Ich spiele mich nun schon einige Stunden, komme aber nicht weiter. &lt;br&gt;&lt;br&gt;Ich möchte in einem String einen Link suchen, der aber nicht mit http oder https beginnt (sonst bekomme ich bei doppelte Einträge mehrere http .. vorangestellt).&lt;br&gt;&lt;br&gt;Angelehnt an PHP etwa so : &lt;br&gt;&lt;br&gt;preg_replace("/[^http].*".$link."/i", "http://".$url."/".$link, $data);&lt;br&gt;&lt;br&gt;geht aber nicht. &lt;br&gt;&lt;br/&gt;</description>
      <pubDate>Tue, 24 Apr 2007 13:24:33 GMT</pubDate>
      <guid>http://forum.geizhals.at/t493066,4086200.html#4086200</guid>
      <dc:creator>jobnavigator</dc:creator>
      <dc:date>2007-04-24T13:24:33Z</dc:date>
    </item>
  </channel>
</rss>
