<?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 interpreting a Perl regular expression in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Help-interpreting-a-Perl-regular-expression/m-p/630399#M20809</link>
    <description>&lt;P&gt;Are you sure that the original pattern contains only uppercase characters?&lt;/P&gt;</description>
    <pubDate>Sat, 07 Mar 2020 18:08:17 GMT</pubDate>
    <dc:creator>PGStats</dc:creator>
    <dc:date>2020-03-07T18:08:17Z</dc:date>
    <item>
      <title>Help interpreting a Perl regular expression</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Help-interpreting-a-Perl-regular-expression/m-p/630396#M20807</link>
      <description>&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;I received SAS code that contains a regular expression and I'm having a hard time understanding it. I need to make some edits to it (output isn't correct), but first I need to know what exactly what it is saying. I've used cheat sheets but it's hard for me to put the whole expression together. Any help would be appreciated!&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;PRXPARSE("/((\D{1,2}.?\D{0,2}\S?) (X) ?\S?) {1,3} (MM|CM)/I")&lt;/P&gt;</description>
      <pubDate>Sat, 07 Mar 2020 17:56:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Help-interpreting-a-Perl-regular-expression/m-p/630396#M20807</guid>
      <dc:creator>EmmettMicah</dc:creator>
      <dc:date>2020-03-07T17:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Help interpreting a Perl regular expression</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Help-interpreting-a-Perl-regular-expression/m-p/630399#M20809</link>
      <description>&lt;P&gt;Are you sure that the original pattern contains only uppercase characters?&lt;/P&gt;</description>
      <pubDate>Sat, 07 Mar 2020 18:08:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Help-interpreting-a-Perl-regular-expression/m-p/630399#M20809</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2020-03-07T18:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Help interpreting a Perl regular expression</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Help-interpreting-a-Perl-regular-expression/m-p/630402#M20811</link>
      <description>&lt;P&gt;Here is some Info :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;((\D{1,2}.?\D{0,2}\S?) (X) \S?) {1,3} (MM|CM)&lt;/P&gt;
&lt;P&gt;1st Capturing Group ((\D{1,2}.?\D{0,2}\S?) (X) \S?)&lt;BR /&gt;2nd Capturing Group (\D{1,2}.?\D{0,2}\S?)&lt;BR /&gt;\D{1,2} matches any character that\'s not a digit (equal to [^0-9])&lt;BR /&gt;{1,2} Quantifier — Matches between 1 and 2 times, as many times as possible, giving back as needed (greedy)&lt;BR /&gt;.? matches any character (except for line terminators)&lt;BR /&gt;? Quantifier — Matches between zero and one times, as many times as possible, giving back as needed (greedy)&lt;BR /&gt;\D{0,2} matches any character that\'s not a digit (equal to [^0-9])&lt;BR /&gt;{0,2} Quantifier — Matches between 0 and 2 times, as many times as possible, giving back as needed (greedy)&lt;BR /&gt;\S? matches any non-whitespace character (equal to [^\r\n\t\f\v ])&lt;BR /&gt;? Quantifier — Matches between zero and one times, as many times as possible, giving back as needed (greedy)&lt;BR /&gt;matches the character literally (case sensitive)&lt;BR /&gt;3rd Capturing Group (X)&lt;BR /&gt;X matches the character X literally (case sensitive)&lt;BR /&gt;matches the character literally (case sensitive)&lt;BR /&gt;\S? matches any non-whitespace character (equal to [^\r\n\t\f\v ])&lt;BR /&gt;? Quantifier — Matches between zero and one times, as many times as possible, giving back as needed (greedy)&lt;BR /&gt;matches the character literally (case sensitive)&lt;BR /&gt;{1,3} matches the character literally (case sensitive)&lt;BR /&gt;{1,3} Quantifier — Matches between 1 and 3 times, as many times as possible, giving back as needed (greedy)&lt;BR /&gt;matches the character literally (case sensitive)&lt;BR /&gt;4th Capturing Group (MM|CM)&lt;BR /&gt;1st Alternative MM&lt;BR /&gt;MM matches the characters MM literally (case sensitive)&lt;BR /&gt;2nd Alternative CM&lt;BR /&gt;CM matches the characters CM literally (case sensitive)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Possible Matches :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;TIM AP X X   MM
ABC AP X X   CM
SAS AP X X   MM
SASSAP X X   MM
SAS IS X T   CM
SAS IS X     MM
ABC XY X Y   CM
      X B    MM&lt;/PRE&gt;</description>
      <pubDate>Sat, 07 Mar 2020 18:44:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Help-interpreting-a-Perl-regular-expression/m-p/630402#M20811</guid>
      <dc:creator>r_behata</dc:creator>
      <dc:date>2020-03-07T18:44:12Z</dc:date>
    </item>
  </channel>
</rss>

