<?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 Pattern Matching in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Perl-Pattern-Matching/m-p/952116#M372134</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data blah;
input refid $40.;
cards;
000-ABCD
0A0-ABCD
;
data want;
set blah;
if prxmatch('/\d{3}-[A-Z]{4}/', refid);
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 28 Nov 2024 01:53:25 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2024-11-28T01:53:25Z</dc:date>
    <item>
      <title>Perl Pattern Matching</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Perl-Pattern-Matching/m-p/952103#M372129</link>
      <description>&lt;P&gt;I'm trying to match a character variable pattern. It is of the form "000-ABCD" (three digits, dash, four capital alpha characters).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I used the following code, but it must be incorrect as it did not return anything:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data blah;&lt;BR /&gt;set blah;&lt;BR /&gt;if prxmatch('/\d{3}-\[A-Z]{4}/', refid);&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2024 21:04:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Perl-Pattern-Matching/m-p/952103#M372129</guid>
      <dc:creator>_Hopper</dc:creator>
      <dc:date>2024-11-27T21:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: Perl Pattern Matching</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Perl-Pattern-Matching/m-p/952116#M372134</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data blah;
input refid $40.;
cards;
000-ABCD
0A0-ABCD
;
data want;
set blah;
if prxmatch('/\d{3}-[A-Z]{4}/', refid);
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 28 Nov 2024 01:53:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Perl-Pattern-Matching/m-p/952116#M372134</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-11-28T01:53:25Z</dc:date>
    </item>
  </channel>
</rss>

