<?xml version='1.0' encoding="utf-8"?>
      <rss version='2.0'>
      <channel>
      <title>Форум на Исходниках.RU</title>
      <link>https://forum.sources.ru</link>
      <description>Форум на Исходниках.RU</description>
      <generator>Форум на Исходниках.RU</generator>
  	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=52035&amp;view=findpost&amp;p=343056</guid>
        <pubDate>Wed, 21 Apr 2004 20:22:11 +0000</pubDate>
        <title>Регулярные выражения</title>
        <link>https://forum.sources.ru/index.php?showtopic=52035&amp;view=findpost&amp;p=343056</link>
        <description><![CDATA[X0X0L: big thenx]]></description>
        <author>X0X0L</author>
        <category>RegExp</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=52035&amp;view=findpost&amp;p=343050</guid>
        <pubDate>Wed, 21 Apr 2004 20:09:17 +0000</pubDate>
        <title>Регулярные выражения</title>
        <link>https://forum.sources.ru/index.php?showtopic=52035&amp;view=findpost&amp;p=343050</link>
        <description><![CDATA[Машина: А так&#33; :wall: <div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">!/usr/bin/perl</div><div class="code_line">&nbsp;open(InFile, &quot;pslog.txt&quot;) || die;</div><div class="code_line">&nbsp;&nbsp; while ($line = &#60;InFile&#62;)</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; {</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if ($line =~ /\d{2,3}\.\d{2,3}\.\d{2,3}\.\d{2,3}\|\[https?:\/\//) {</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;print &quot;$line&quot;; &nbsp; &nbsp; &nbsp; &nbsp;</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; }</div><div class="code_line">&nbsp;&nbsp; close(InFile);</div></ol></div></div></div></div><script>preloadCodeButtons('1');</script>]]></description>
        <author>Машина</author>
        <category>RegExp</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=52035&amp;view=findpost&amp;p=343045</guid>
        <pubDate>Wed, 21 Apr 2004 19:58:57 +0000</pubDate>
        <title>Регулярные выражения</title>
        <link>https://forum.sources.ru/index.php?showtopic=52035&amp;view=findpost&amp;p=343045</link>
        <description><![CDATA[X0X0L: bash-2.05&#036; perl p.pl<br>syntax error at p.pl line 6, near &quot;)<br>                print&quot;<br>Execution of p.pl aborted due to compilation errors.<br>bash-2.05&#036; <br><br>:-((]]></description>
        <author>X0X0L</author>
        <category>RegExp</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=52035&amp;view=findpost&amp;p=343040</guid>
        <pubDate>Wed, 21 Apr 2004 19:53:51 +0000</pubDate>
        <title>Регулярные выражения</title>
        <link>https://forum.sources.ru/index.php?showtopic=52035&amp;view=findpost&amp;p=343040</link>
        <description><![CDATA[Машина: А так:<br>
<br>
<br>
<div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">!/usr/bin/perl</div><div class="code_line">&nbsp;open(InFile, &quot;pslog.txt&quot;) || die;</div><div class="code_line">&nbsp;&nbsp; while ($line = &#60;InFile&#62;)</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; {</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if ($line =~ /\d{2,3}\.\d{2,3}\.\d{2,3}\.\d{2,3}\|\[https?:\/\//)</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;print &quot;$line&quot;; &nbsp; &nbsp; &nbsp; &nbsp; </div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; }</div><div class="code_line">&nbsp;&nbsp; close(InFile);</div></ol></div></div></div></div>]]></description>
        <author>Машина</author>
        <category>RegExp</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=52035&amp;view=findpost&amp;p=343034</guid>
        <pubDate>Wed, 21 Apr 2004 19:46:00 +0000</pubDate>
        <title>Регулярные выражения</title>
        <link>https://forum.sources.ru/index.php?showtopic=52035&amp;view=findpost&amp;p=343034</link>
        <description><![CDATA[X0X0L: bash-2.05&#036; perl p.pl<br>syntax error at p.pl line 6, near &quot;)<br>                print&quot;<br>Execution of p.pl aborted due to compilation errors.<br>bash-2.05&#036;]]></description>
        <author>X0X0L</author>
        <category>RegExp</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=52035&amp;view=findpost&amp;p=343019</guid>
        <pubDate>Wed, 21 Apr 2004 19:30:24 +0000</pubDate>
        <title>Регулярные выражения</title>
        <link>https://forum.sources.ru/index.php?showtopic=52035&amp;view=findpost&amp;p=343019</link>
        <description><![CDATA[Машина: Извини за наглость, но я не знаю Перл =). Кто-нибудь другой подскажет. <br>
<br>
<span class="tag-color tag-color-named" data-value="gray" style="color: gray"><span class='tag-size' data-value='8' style='font-size:8pt;'><strong class='tag-b'>Добавлено в <time class="tag-mergetime" datetime="2004-04-21T19:37:50+00:00">21.04.04, 19:37</time></strong>:</span></span><br>
<div class='tag-quote'><span class='tag-quote-prefix'>Цитата</span> <span class='tag-quote__quote-info'>X0X0L &#064; 21.04.04, 17:20</span><div class='quote '>#&#33;/usr/bin/perl<br>
 open(InFile, &quot;pslog.txt&quot;) || die;<br>
   while (&#036;line = &lt;InFile&gt;)<br>
       {<br>
           print &#036;line;         <br>
           ????? <br>
       }<br>
   close(InFile);<br>
<br>
<br>
сорри за наглость, но не мог бы ты добавить недостающие строки?:-))</div></div><br>
Так:<br>
<div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">#!/usr/bin/perl</div><div class="code_line">&nbsp;open(InFile, &quot;pslog.txt&quot;) || die;</div><div class="code_line">&nbsp;&nbsp; while ($line = &#60;InFile&#62;)</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; {</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if ($line =~ /\d{2,3}\.\d{2,3}\.\d{2,3}\.\d{2,3}\|\[https?:\/\//)</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;print $line; &nbsp; &nbsp; &nbsp; &nbsp; </div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; }</div><div class="code_line">&nbsp;&nbsp; close(InFile);</div></ol></div></div></div></div><br>
Посмотри.]]></description>
        <author>Машина</author>
        <category>RegExp</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=52035&amp;view=findpost&amp;p=343012</guid>
        <pubDate>Wed, 21 Apr 2004 19:20:52 +0000</pubDate>
        <title>Регулярные выражения</title>
        <link>https://forum.sources.ru/index.php?showtopic=52035&amp;view=findpost&amp;p=343012</link>
        <description><![CDATA[X0X0L: #&#33;/usr/bin/perl<br> open(InFile, &quot;pslog.txt&quot;) || die;<br>   while (&#036;line = &lt;InFile&gt;)<br>       {<br>           print &#036;line;         <br>           ????? <br>       }<br>   close(InFile);<br><br><br>сорри за наглость, но не мог бы ты добавить недостающие строки?:-))]]></description>
        <author>X0X0L</author>
        <category>RegExp</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=52035&amp;view=findpost&amp;p=342965</guid>
        <pubDate>Wed, 21 Apr 2004 17:55:02 +0000</pubDate>
        <title>Регулярные выражения</title>
        <link>https://forum.sources.ru/index.php?showtopic=52035&amp;view=findpost&amp;p=342965</link>
        <description><![CDATA[Машина: Вот перл-шаблон:<br>
<div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">/\d{2,3}\.\d{2,3}\.\d{2,3}\.\d{2,3}\|\[https?:\/\//</div></ol></div></div></div></div>]]></description>
        <author>Машина</author>
        <category>RegExp</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=52035&amp;view=findpost&amp;p=342952</guid>
        <pubDate>Wed, 21 Apr 2004 17:34:57 +0000</pubDate>
        <title>Регулярные выражения</title>
        <link>https://forum.sources.ru/index.php?showtopic=52035&amp;view=findpost&amp;p=342952</link>
        <description><![CDATA[X0X0L: пример файла<br>
<br>
67.74.199.230|[http://www.classmates.com/cmo/login.jsp]<br>
67.74.199.230|[qq]+&#39;kiss.com&#39;<br>
67.74.199.230|[handle]+&#39;bp03451&#39;<br>
67.74.199.230|[https://170.224.14.144/asp/logon.asp]<br>
67.74.199.230|[email]+&#39;barryperkins@mybluelight.com&#39;<br>
67.74.199.230|[age]+&#39;51&#39;<br>
81.241.146.33|[rebuttal]+&#39;hvala+:-),merci+:-),Prebrzo+zboris+prijatelju.+Slazem+se+da+se+radi+o+vrhnju,<br>
<br>
ножно чтобы после работы скрипта на экран вывело только<br>
67.74.199.230|[http://www.classmates.com/cmo/login.jsp]<br>
67.74.199.230|[https://170.224.14.144/asp/logon.asp]<br>
<br>
т.е шаблон выглядит так<br>
<br>
*.*.*.*|[http(s)://]]></description>
        <author>X0X0L</author>
        <category>RegExp</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=52035&amp;view=findpost&amp;p=342935</guid>
        <pubDate>Wed, 21 Apr 2004 17:04:32 +0000</pubDate>
        <title>Регулярные выражения</title>
        <link>https://forum.sources.ru/index.php?showtopic=52035&amp;view=findpost&amp;p=342935</link>
        <description><![CDATA[Машина: Не понял - какой критерий попадания.]]></description>
        <author>Машина</author>
        <category>RegExp</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=52035&amp;view=findpost&amp;p=342926</guid>
        <pubDate>Wed, 21 Apr 2004 16:57:09 +0000</pubDate>
        <title>Регулярные выражения</title>
        <link>https://forum.sources.ru/index.php?showtopic=52035&amp;view=findpost&amp;p=342926</link>
        <description><![CDATA[X0X0L: не подскажете как сделать чтобы скрипт пропарсил файл и вывел все строки в<br>которых содержится<br>255.255.255.255|http://<br>255.255.255.255|https://<br><br>ип динамические,<br>на пхп скрипт написал, но он падает, фалы сильно большие 100-150 метров<br><br>или на сях под никсы<br><br>заранее благодарен]]></description>
        <author>X0X0L</author>
        <category>RegExp</category>
      </item>
	
      </channel>
      </rss>
	