<?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/142352#M296794</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jaap's code is correct. Of course you need the &lt;STRONG&gt;retain&lt;/STRONG&gt; statement.&lt;/P&gt;&lt;P&gt;On the other hand you forgot the parenthesis:&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="text-decoration: line-through;"&gt;prxparse('/rtf/')&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;prxparse('/(rtf)/')&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Without the parenthesis there is no capture buffer, prxposn() returns the content of the capure buffer(s).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;But I don't think you need it, since you already know what will be the the capture buffer:&amp;nbsp; rtf (or missing).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;So I &lt;STRONG&gt;suppose&lt;/STRONG&gt; this is just an example. Your search string is more complex in your &lt;STRONG&gt;real problem&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Probably:&amp;nbsp; prxparse('/\\(rtf.*?)\\/')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;This will match this string: \rtf1\&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Position will be: 2&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Capture buffer content will be: rtf1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Jul 2014 13:09:47 GMT</pubDate>
    <dc:creator>gergely_batho</dc:creator>
    <dc:date>2014-07-31T13:09:47Z</dc:date>
    <item>
      <title>Perl regular expressions</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Perl-regular-expressions/m-p/142346#M296788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am struggling to get something basic working and I can't see why.&amp;nbsp; Given the string:&lt;/P&gt;&lt;P&gt;{\rtf1\ansi\ansicpg1252\uc1\deff0\deflang1033\deflangfe1033&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why does the following code not give position at all (raw_base contains the above text):&lt;/P&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;&amp;nbsp; set have;&lt;/P&gt;&lt;P&gt;&amp;nbsp; tmp=prxparse("/rtf/");&lt;/P&gt;&lt;P&gt;&amp;nbsp; tmp2=prxposn(tmp,1,raw_base);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Had also tried ("/\\rtf/") and ("/ansi/"), none seem to work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 14:46:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Perl-regular-expressions/m-p/142346#M296788</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-07-30T14:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: Perl regular expressions</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Perl-regular-expressions/m-p/142347#M296789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You missed prxmatch() . Check the documentation to find an example in it .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 15:29:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Perl-regular-expressions/m-p/142347#M296789</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2014-07-30T15:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: Perl regular expressions</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Perl-regular-expressions/m-p/142348#M296790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As ksharp already made the note, prxmatch must have been executed before prxposn.&lt;/P&gt;&lt;P&gt;The prxparse call is only needed once it seems to be a compilation where after you can use that.&lt;/P&gt;&lt;P&gt;prxposn is using grouping results, fort that the ( ) usage.&amp;nbsp; See:&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lefunctionsref/67239/HTML/default/viewer.htm#p0s9ilagexmjl8n1u7e1t1jfnzlk.htm" title="http://support.sas.com/documentation/cdl/en/lefunctionsref/67239/HTML/default/viewer.htm#p0s9ilagexmjl8n1u7e1t1jfnzlk.htm"&gt;SAS(R) 9.4 Functions and CALL Routines: Reference, Second Edition&lt;/A&gt; (prx)&amp;nbsp; and&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="http://support.sas.com/documentation/cdl/en/lefunctionsref/67239/HTML/default/viewer.htm#n1lru1b4uoogqvn1ig446q4c6muu.htm" title="http://support.sas.com/documentation/cdl/en/lefunctionsref/67239/HTML/default/viewer.htm#n1lru1b4uoogqvn1ig446q4c6muu.htm"&gt;SAS(R) 9.4 Functions and CALL Routines: Reference, Second Edition&lt;/A&gt; (prxposn function not the call)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try:&lt;/P&gt;&lt;P class="sasSource"&gt; 48&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data want;&lt;/P&gt;&lt;P class="sasSource"&gt; 49 set have;&lt;/P&gt;&lt;P class="sasSource"&gt; 50&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ( _n_ =1 ) then do; tmp=prxparse('/(rtf)/'); end;&lt;/P&gt;&lt;P class="sasSource"&gt; 51&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tmp1=prxmatch(tmp,raw_base);&lt;/P&gt;&lt;P class="sasSource"&gt; 52&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tmp2=prxposn(tmp,1,raw_base);&lt;/P&gt;&lt;P class="sasSource"&gt; 53&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; put "output: " tmp1 tmp2 $8. ;&lt;/P&gt;&lt;P class="sasSource"&gt; 54&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P class="sasNote" id="sasLogNote3_1406735404555"&gt; output: 2 rtf&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 15:49:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Perl-regular-expressions/m-p/142348#M296790</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-07-30T15:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: Perl regular expressions</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Perl-regular-expressions/m-p/142349#M296791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jaap, I couldn't get your example working however.&amp;nbsp; I am using version 9.3 (not sure if that makes a difference), I copied and pasted and had the first set of errors regarding tmp not being on each row.&amp;nbsp; So I modified per:&lt;/P&gt;&lt;P&gt; data want;&lt;/P&gt;&lt;P&gt;&amp;nbsp; if (_n_=1) then do;tmp=prxparse('/rtf/');end;&lt;/P&gt;&lt;P&gt;&amp;nbsp; set raw_base;&lt;/P&gt;&lt;P&gt;&amp;nbsp; retain tmp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; if prxmatch(tmp,raw_base) then do;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; tmp1=prxmatch(tmp,raw_base);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; tmp2=prxposn(tmp,1,raw_base);&lt;/P&gt;&lt;P&gt;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;With the above, tmp1 is correct, only the first record has tmp1 not null and it is 3, where my string starts.&amp;nbsp; However tmp2 is always empty. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2014 08:48:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Perl-regular-expressions/m-p/142349#M296791</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-07-31T08:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Perl regular expressions</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Perl-regular-expressions/m-p/142350#M296792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this one :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data raw_base;&lt;/P&gt;&lt;P&gt; raw_base='{\rtf1\ansi\ansicpg1252\uc1\deff0\deflang1033\deflangfe1033';&lt;/P&gt;&lt;P&gt; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;&amp;nbsp; set raw_base;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if _n_=1 then do;tmp=prxparse('/(rtf)/');end;&lt;/P&gt;&lt;P&gt;&amp;nbsp; if prxmatch(tmp,raw_base) then do;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; tmp2=prxposn(tmp,1,raw_base);&lt;/P&gt;&lt;P&gt;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Xia Keshan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2014 12:39:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Perl-regular-expressions/m-p/142350#M296792</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2014-07-31T12:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: Perl regular expressions</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Perl-regular-expressions/m-p/142351#M296793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A __default_attr="814511" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;prxposn() is to capture buffer which has to be defined using parenthesis (), try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: navy; background: white; font-family: 'Courier New';"&gt;data&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt; want;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt; &lt;SPAN style="font-family: 'Courier New'; color: blue; background: white;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt; (_n_=&lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-family: 'Courier New';"&gt;1&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; background: white;"&gt;then&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: blue; background: white;"&gt;do&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt;;tmp=prxparse(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: purple; background: white;"&gt;'/(rtf)/'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt;);&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; background: white;"&gt;end&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt; var=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: purple; background: white;"&gt;'{\rtf1\ansi\ansicpg1252\uc1\deff0\deflang1033\deflangfe1033'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt; &lt;SPAN style="font-family: 'Courier New'; color: blue; background: white;"&gt;retain&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt; tmp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt; &lt;SPAN style="font-family: 'Courier New'; color: blue; background: white;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt; prxmatch(tmp,var) &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; background: white;"&gt;then&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: blue; background: white;"&gt;do&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt; tmp1=prxmatch(tmp,var);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt; tmp2=prxposn(tmp,&lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-family: 'Courier New';"&gt;1&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt;,var);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt; &lt;SPAN style="font-family: 'Courier New'; color: blue; background: white;"&gt;end&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt; Haikuo&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2014 12:43:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Perl-regular-expressions/m-p/142351#M296793</guid>
      <dc:creator>haikuobian</dc:creator>
      <dc:date>2014-07-31T12:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Perl regular expressions</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Perl-regular-expressions/m-p/142352#M296794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jaap's code is correct. Of course you need the &lt;STRONG&gt;retain&lt;/STRONG&gt; statement.&lt;/P&gt;&lt;P&gt;On the other hand you forgot the parenthesis:&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="text-decoration: line-through;"&gt;prxparse('/rtf/')&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;prxparse('/(rtf)/')&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Without the parenthesis there is no capture buffer, prxposn() returns the content of the capure buffer(s).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;But I don't think you need it, since you already know what will be the the capture buffer:&amp;nbsp; rtf (or missing).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;So I &lt;STRONG&gt;suppose&lt;/STRONG&gt; this is just an example. Your search string is more complex in your &lt;STRONG&gt;real problem&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Probably:&amp;nbsp; prxparse('/\\(rtf.*?)\\/')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;This will match this string: \rtf1\&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Position will be: 2&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Capture buffer content will be: rtf1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2014 13:09:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Perl-regular-expressions/m-p/142352#M296794</guid>
      <dc:creator>gergely_batho</dc:creator>
      <dc:date>2014-07-31T13:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: Perl regular expressions</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Perl-regular-expressions/m-p/142353#M296795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you HaiKuo and Gergely Batho, unfortunately I have run out of helpful answers, but your input was very helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2014 13:14:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Perl-regular-expressions/m-p/142353#M296795</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-07-31T13:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: Perl regular expressions</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Perl-regular-expressions/m-p/142354#M296796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I forgot the retain statement for running all observations.&amp;nbsp; thx rw9/ batho..&lt;/P&gt;&lt;P&gt;Telling it is compilation reference and not taken action .... (sorry).&lt;BR /&gt;It was tested using UE (9.4) but the same approach as in 9.1.3. The grouping ( ) got my attention in the prx part.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did mention the difference the difference between prxposn as function and as call. &lt;/P&gt;&lt;P&gt;The first one is returning the string the latter the position (number). &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2014 13:44:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Perl-regular-expressions/m-p/142354#M296796</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-07-31T13:44:39Z</dc:date>
    </item>
  </channel>
</rss>

