<?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: Perl Regular Expressions in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/perl-regular-expressions/m-p/5002197#M47730</link>
    <description>Well, you could just use \S+ (non-space), but that'll allow you to include symbols as well.&lt;BR /&gt;&lt;BR /&gt;\w already does alpha-numeric-and-underscore, what you need to include is the '.'.&lt;BR /&gt;&lt;BR /&gt;So '/^([\w\.]+)\s+(\S+)...' is what you're after.</description>
    <pubDate>Fri, 08 Sep 2006 22:24:40 GMT</pubDate>
    <dc:creator>Stuart Browne</dc:creator>
    <dc:date>2006-09-08T22:24:40Z</dc:date>
    <item>
      <title>Perl Regular Expressions</title>
      <link>https://community.hpe.com/t5/operating-system-linux/perl-regular-expressions/m-p/5002196#M47729</link>
      <description>I have the following in a text file.&lt;BR /&gt;&lt;BR /&gt;autocalcs &lt;BR /&gt;cdms  &lt;BR /&gt;mservrs      &lt;BR /&gt;XIPMessageQueue_7.0&lt;BR /&gt;&lt;BR /&gt;=====&lt;BR /&gt;&lt;BR /&gt;while($line = &lt;FP&gt;)&lt;BR /&gt;{&lt;BR /&gt;    chomp ($line);&lt;BR /&gt;    $line =~ /^(\w+)\s+(\S+)........&lt;BR /&gt;&lt;BR /&gt;output from above:&lt;BR /&gt;&lt;BR /&gt;autocalcs &lt;BR /&gt;cdms  &lt;BR /&gt;mservrs    &lt;BR /&gt;&lt;BR /&gt;===============&lt;BR /&gt;&lt;BR /&gt;while($line = &lt;FP&gt;)&lt;BR /&gt;{&lt;BR /&gt;    chomp ($line);&lt;BR /&gt;    $line =~ /^(\w+[_0-9.]+)\s+(\S+)........&lt;BR /&gt;&lt;BR /&gt;output:&lt;BR /&gt;&lt;BR /&gt;XIPMessageQueue_7.0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I'm looking for syntax to match all 4&lt;BR /&gt;autocalcs &lt;BR /&gt;cdms  &lt;BR /&gt;mservrs      &lt;BR /&gt;XIPMessageQueue_7.0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I appreciate all help.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;JC.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/FP&gt;&lt;/FP&gt;</description>
      <pubDate>Fri, 08 Sep 2006 15:39:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/perl-regular-expressions/m-p/5002196#M47729</guid>
      <dc:creator>Junior C.</dc:creator>
      <dc:date>2006-09-08T15:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: Perl Regular Expressions</title>
      <link>https://community.hpe.com/t5/operating-system-linux/perl-regular-expressions/m-p/5002197#M47730</link>
      <description>Well, you could just use \S+ (non-space), but that'll allow you to include symbols as well.&lt;BR /&gt;&lt;BR /&gt;\w already does alpha-numeric-and-underscore, what you need to include is the '.'.&lt;BR /&gt;&lt;BR /&gt;So '/^([\w\.]+)\s+(\S+)...' is what you're after.</description>
      <pubDate>Fri, 08 Sep 2006 22:24:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/perl-regular-expressions/m-p/5002197#M47730</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2006-09-08T22:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: Perl Regular Expressions</title>
      <link>https://community.hpe.com/t5/operating-system-linux/perl-regular-expressions/m-p/5002198#M47731</link>
      <description>This will also work:&lt;BR /&gt;&lt;BR /&gt;$line=~/^([A-z0-9_.]+)\s+(\S+)....&lt;BR /&gt;&lt;BR /&gt;Regards.</description>
      <pubDate>Sat, 09 Sep 2006 06:36:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/perl-regular-expressions/m-p/5002198#M47731</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2006-09-09T06:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: Perl Regular Expressions</title>
      <link>https://community.hpe.com/t5/operating-system-linux/perl-regular-expressions/m-p/5002199#M47732</link>
      <description>Thread Close</description>
      <pubDate>Sat, 09 Sep 2006 12:23:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/perl-regular-expressions/m-p/5002199#M47732</guid>
      <dc:creator>Junior C.</dc:creator>
      <dc:date>2006-09-09T12:23:01Z</dc:date>
    </item>
  </channel>
</rss>

