<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Help on RegExp nedded in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/help-on-regexp-nedded/m-p/3743424#M101401</link>
    <description>Very kind of you, thank you, I`ll fix it.</description>
    <pubDate>Mon, 06 Mar 2006 05:07:43 GMT</pubDate>
    <dc:creator>Kalin Evtimov</dc:creator>
    <dc:date>2006-03-06T05:07:43Z</dc:date>
    <item>
      <title>Help on RegExp nedded</title>
      <link>https://community.hpe.com/t5/operating-system-linux/help-on-regexp-nedded/m-p/3743418#M101395</link>
      <description>Hi!&lt;BR /&gt;I am stuck..&lt;BR /&gt;I need a regexp, which finds a file named 'something.log'&lt;BR /&gt;My regexp finds also something.log.1 and something.log.2 and so on..argh...&lt;BR /&gt;&lt;BR /&gt;It says:&lt;BR /&gt;if ($file =~ /something.*.log/)....&lt;BR /&gt;&lt;BR /&gt;How should I change it?&lt;BR /&gt;&lt;BR /&gt;Thank you!&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 03 Mar 2006 04:08:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/help-on-regexp-nedded/m-p/3743418#M101395</guid>
      <dc:creator>Kalin Evtimov</dc:creator>
      <dc:date>2006-03-03T04:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: Help on RegExp nedded</title>
      <link>https://community.hpe.com/t5/operating-system-linux/help-on-regexp-nedded/m-p/3743419#M101396</link>
      <description>Hello, &lt;BR /&gt;&lt;BR /&gt;You can give exact name in "" (double quotes)&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Fri, 03 Mar 2006 04:15:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/help-on-regexp-nedded/m-p/3743419#M101396</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-03-03T04:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: Help on RegExp nedded</title>
      <link>https://community.hpe.com/t5/operating-system-linux/help-on-regexp-nedded/m-p/3743420#M101397</link>
      <description>Hi Kalin,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;   Can you try,&lt;BR /&gt;&lt;BR /&gt;if ($file =~ /something.*.log$/)....&lt;BR /&gt;&lt;BR /&gt;  Notice there is "$" after log character.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Senthil Kumar .A</description>
      <pubDate>Fri, 03 Mar 2006 04:18:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/help-on-regexp-nedded/m-p/3743420#M101397</guid>
      <dc:creator>Senthil Kumar .A_1</dc:creator>
      <dc:date>2006-03-03T04:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: Help on RegExp nedded</title>
      <link>https://community.hpe.com/t5/operating-system-linux/help-on-regexp-nedded/m-p/3743421#M101398</link>
      <description>Kalin,&lt;BR /&gt;have you tried:&lt;BR /&gt;if ($file =~ /something*.log/)....&lt;BR /&gt;&lt;BR /&gt;(removed first full stop)</description>
      <pubDate>Fri, 03 Mar 2006 04:21:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/help-on-regexp-nedded/m-p/3743421#M101398</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-03-03T04:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: Help on RegExp nedded</title>
      <link>https://community.hpe.com/t5/operating-system-linux/help-on-regexp-nedded/m-p/3743422#M101399</link>
      <description>Senthil Kumar .A Â´s version worked, I just added brackets:&lt;BR /&gt;&lt;BR /&gt;$file =~ /something.*[log]$/&lt;BR /&gt;&lt;BR /&gt;but it should work also without brackets.&lt;BR /&gt;&lt;BR /&gt;Thank you!</description>
      <pubDate>Fri, 03 Mar 2006 04:47:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/help-on-regexp-nedded/m-p/3743422#M101399</guid>
      <dc:creator>Kalin Evtimov</dc:creator>
      <dc:date>2006-03-03T04:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: Help on RegExp nedded</title>
      <link>https://community.hpe.com/t5/operating-system-linux/help-on-regexp-nedded/m-p/3743423#M101400</link>
      <description>the brackets are groups of chars to match to. now your regex will also match all files ending with the letters l, o or g. ex: ogl, gol, glo, gl, ol, lo, go, o, ...&lt;BR /&gt;not what you want i guess. it hasn't happened to you yet, because you don't have any other files with an extension made out of the letters l, o or g. but you can never be sure (.o files are common)</description>
      <pubDate>Mon, 06 Mar 2006 02:42:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/help-on-regexp-nedded/m-p/3743423#M101400</guid>
      <dc:creator>dirk dierickx</dc:creator>
      <dc:date>2006-03-06T02:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: Help on RegExp nedded</title>
      <link>https://community.hpe.com/t5/operating-system-linux/help-on-regexp-nedded/m-p/3743424#M101401</link>
      <description>Very kind of you, thank you, I`ll fix it.</description>
      <pubDate>Mon, 06 Mar 2006 05:07:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/help-on-regexp-nedded/m-p/3743424#M101401</guid>
      <dc:creator>Kalin Evtimov</dc:creator>
      <dc:date>2006-03-06T05:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: Help on RegExp nedded</title>
      <link>https://community.hpe.com/t5/operating-system-linux/help-on-regexp-nedded/m-p/3743425#M101402</link>
      <description>Hi,&lt;BR /&gt;   Try this one&lt;BR /&gt;&lt;BR /&gt;($testfile =~ /something.*.log$/)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Prabu.S</description>
      <pubDate>Mon, 06 Mar 2006 05:13:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/help-on-regexp-nedded/m-p/3743425#M101402</guid>
      <dc:creator>Senthil Prabu.S_1</dc:creator>
      <dc:date>2006-03-06T05:13:34Z</dc:date>
    </item>
  </channel>
</rss>

