<?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 SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Perl-Regular-Expressions/m-p/691090#M210297</link>
    <description>&lt;P&gt;Oh sorry. You use &lt;FONT face="courier new,courier"&gt;\h&lt;/FONT&gt;.&lt;/P&gt;
&lt;P&gt;Yes, unsupported in SAS.&lt;/P&gt;
&lt;P&gt;You can&lt;SPAN style="font-family: inherit;"&gt;&amp;nbsp;use:&lt;FONT face="courier new,courier"&gt;&amp;nbsp;\x09 \t \s &lt;SPAN class="_3Qv4l"&gt;[[:blank:]]&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;SPAN style="font-family: inherit;"&gt;&lt;SPAN class="_3Qv4l"&gt;The latter is equivalent to&lt;FONT face="courier new,courier"&gt; \h&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 12 Oct 2020 22:07:23 GMT</pubDate>
    <dc:creator>ChrisNZ</dc:creator>
    <dc:date>2020-10-12T22:07:23Z</dc:date>
    <item>
      <title>Perl Regular Expressions</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Perl-Regular-Expressions/m-p/690988#M210260</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just came across this page documenting Perl regular expressions for Dataflux. Do the data step Perl RegEx functions have the same level of capability? I tried using \h for horizontal white space once, but it didn't work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.sas.com/documentation/onlinedoc/dfdmstudio/2.6/dmpdmsug/Content/DMCust_RegexLibUse.html" target="_self"&gt;https://support.sas.com/documentation/onlinedoc/dfdmstudio/2.6/dmpdmsug/Content/DMCust_RegexLibUse.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Barry&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 14:34:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Perl-Regular-Expressions/m-p/690988#M210260</guid>
      <dc:creator>barryG</dc:creator>
      <dc:date>2020-10-12T14:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: Perl Regular Expressions</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Perl-Regular-Expressions/m-p/691088#M210296</link>
      <description>&lt;P&gt;It works for me.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data T; D=prxmatch('/\t/','2009'x); putlog D=; run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;D=2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 21:19:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Perl-Regular-Expressions/m-p/691088#M210296</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-10-12T21:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: Perl Regular Expressions</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Perl-Regular-Expressions/m-p/691090#M210297</link>
      <description>&lt;P&gt;Oh sorry. You use &lt;FONT face="courier new,courier"&gt;\h&lt;/FONT&gt;.&lt;/P&gt;
&lt;P&gt;Yes, unsupported in SAS.&lt;/P&gt;
&lt;P&gt;You can&lt;SPAN style="font-family: inherit;"&gt;&amp;nbsp;use:&lt;FONT face="courier new,courier"&gt;&amp;nbsp;\x09 \t \s &lt;SPAN class="_3Qv4l"&gt;[[:blank:]]&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;SPAN style="font-family: inherit;"&gt;&lt;SPAN class="_3Qv4l"&gt;The latter is equivalent to&lt;FONT face="courier new,courier"&gt; \h&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 22:07:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Perl-Regular-Expressions/m-p/691090#M210297</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-10-12T22:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: Perl Regular Expressions</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Perl-Regular-Expressions/m-p/691091#M210298</link>
      <description>Thanks, Oh well.&lt;BR /&gt;&lt;BR /&gt;Looks like you can use \v for vertical white space. It would have been nice&lt;BR /&gt;to have the whole set available in Dataflux available in the data step, too.&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Oct 2020 21:37:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Perl-Regular-Expressions/m-p/691091#M210298</guid>
      <dc:creator>barryG</dc:creator>
      <dc:date>2020-10-12T21:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: Perl Regular Expressions</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Perl-Regular-Expressions/m-p/691096#M210302</link>
      <description>&lt;P&gt;Yes more consistency would be nice. And easy to do.&lt;/P&gt;
&lt;P&gt;And &lt;A href="https://communities.sas.com/t5/SASware-Ballot-Ideas/Length-returned-by-PROC-SQL-s-case-statement-should-be-as/idi-p/336774" target="_self"&gt;not only here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 22:13:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Perl-Regular-Expressions/m-p/691096#M210302</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-10-12T22:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: Perl Regular Expressions</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Perl-Regular-Expressions/m-p/691198#M210341</link>
      <description>Isn't that truncation a feature of the SAS functions in the data step, too?&lt;BR /&gt;I'm not sure what the ANSI standard is, but I'm pretty sure SAS options&lt;BR /&gt;like length=, format=, label= are SAS extensions, not part of the standard.&lt;BR /&gt;&lt;BR /&gt;More valuable to me would be if Proc SQL would honor length specifications&lt;BR /&gt;on numeric variables in Create Table;&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Oct 2020 10:51:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Perl-Regular-Expressions/m-p/691198#M210341</guid>
      <dc:creator>barryG</dc:creator>
      <dc:date>2020-10-13T10:51:06Z</dc:date>
    </item>
  </channel>
</rss>

