<?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: REGEX rule in VTA 8.5. Lower cased words were also matched when using REGEX:[A-Z] in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/REGEX-rule-in-VTA-8-5-Lower-cased-words-were-also-matched-when/m-p/934247#M10867</link>
    <description>No. [A-Z] should only match a single Uppercase letter</description>
    <pubDate>Mon, 01 Jul 2024 10:02:04 GMT</pubDate>
    <dc:creator>rudfaden</dc:creator>
    <dc:date>2024-07-01T10:02:04Z</dc:date>
    <item>
      <title>REGEX rule in VTA 8.5. Lower cased words were also matched when using REGEX:[A-Z]</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/REGEX-rule-in-VTA-8-5-Lower-cased-words-were-also-matched-when/m-p/934231#M10864</link>
      <description>&lt;P&gt;Hi all, I'm new to SAS VTA so some mercy please!&lt;/P&gt;&lt;P&gt;I'm trying to use REGEX rules to capture Uppercase or Proper case only, according to 8.5 user documentation:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"To add uppercase characters, use the following rule:"&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;&lt;CODE class=""&gt;REGEX:[A-Fa-f]&lt;/CODE&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;However I tried to define&amp;nbsp;&lt;STRONG&gt;REGEX:0125\-[A-Z],&amp;nbsp;&lt;/STRONG&gt;but the match is in both lower and upper case, as shown in the attachment.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SASvtaUser_0-1719824604428.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/98036iBC6D3B0FA4E38EEF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SASvtaUser_0-1719824604428.png" alt="SASvtaUser_0-1719824604428.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So first question is why lower case were also matched?&lt;/P&gt;&lt;P&gt;And second, if I want to match the proper cased words within a sentence, how may I do that?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example: &lt;STRONG&gt;Stark Industries&lt;/STRONG&gt; is a pioneering multinational conglomerate known for its cutting-edge advancements in technology and innovation. Founded by &lt;STRONG&gt;Howard Stark&lt;/STRONG&gt;, it has grown into a global leader in aerospace, defense, and advanced manufacturing. With a commitment to pushing the boundaries of what's possible, &lt;STRONG&gt;Stark Industries&lt;/STRONG&gt; continues to shape the future through its revolutionary products and solutions.&lt;/P&gt;&lt;P&gt;Say I would like to only match the words in bold in the above paragraph....&lt;/P&gt;&lt;P&gt;Loads of thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 09:09:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/REGEX-rule-in-VTA-8-5-Lower-cased-words-were-also-matched-when/m-p/934231#M10864</guid>
      <dc:creator>SASvtaUser</dc:creator>
      <dc:date>2024-07-01T09:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: REGEX rule in VTA 8.5. Lower cased words were also matched when using REGEX:[A-Z]</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/REGEX-rule-in-VTA-8-5-Lower-cased-words-were-also-matched-when/m-p/934236#M10865</link>
      <description>&lt;P&gt;You could try something like this&lt;BR /&gt;&lt;BR /&gt;[A-Z]{1}[a-z]+\s[A-Z]{1}[a-z]+&lt;BR /&gt;&lt;BR /&gt;Explanation&lt;BR /&gt;[A-Z]{1} - singe upper case letter&lt;BR /&gt;[a-z]+ - multiple lower case letters&lt;/P&gt;&lt;P&gt;\s a single space&lt;/P&gt;&lt;P&gt;[A-Z]{1} - singe upper case letter&lt;/P&gt;&lt;P&gt;[a-z]+ - multiple lower case letters&lt;/P&gt;&lt;P&gt;do the sam&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 09:37:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/REGEX-rule-in-VTA-8-5-Lower-cased-words-were-also-matched-when/m-p/934236#M10865</guid>
      <dc:creator>rudfaden</dc:creator>
      <dc:date>2024-07-01T09:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: REGEX rule in VTA 8.5. Lower cased words were also matched when using REGEX:[A-Z]</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/REGEX-rule-in-VTA-8-5-Lower-cased-words-were-also-matched-when/m-p/934240#M10866</link>
      <description>&lt;P&gt;Thank you!!! I will try out!!&lt;/P&gt;&lt;P&gt;Could also ask on why is&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;REGEX:0125\-[A-Z] also returning lower case (0125-a) as a match?&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 09:49:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/REGEX-rule-in-VTA-8-5-Lower-cased-words-were-also-matched-when/m-p/934240#M10866</guid>
      <dc:creator>SASvtaUser</dc:creator>
      <dc:date>2024-07-01T09:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: REGEX rule in VTA 8.5. Lower cased words were also matched when using REGEX:[A-Z]</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/REGEX-rule-in-VTA-8-5-Lower-cased-words-were-also-matched-when/m-p/934247#M10867</link>
      <description>No. [A-Z] should only match a single Uppercase letter</description>
      <pubDate>Mon, 01 Jul 2024 10:02:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/REGEX-rule-in-VTA-8-5-Lower-cased-words-were-also-matched-when/m-p/934247#M10867</guid>
      <dc:creator>rudfaden</dc:creator>
      <dc:date>2024-07-01T10:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: REGEX rule in VTA 8.5. Lower cased words were also matched when using REGEX:[A-Z]</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/REGEX-rule-in-VTA-8-5-Lower-cased-words-were-also-matched-when/m-p/934364#M10871</link>
      <description>&lt;P&gt;Update: I tried the proposed solution, still not working...&lt;/P&gt;&lt;P&gt;The issue is still, uppercase or lowercase words are matched regardless.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SASvtaUser_0-1719902052702.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/98082i5F97A34804EB6254/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SASvtaUser_0-1719902052702.png" alt="SASvtaUser_0-1719902052702.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2024 06:42:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/REGEX-rule-in-VTA-8-5-Lower-cased-words-were-also-matched-when/m-p/934364#M10871</guid>
      <dc:creator>SASvtaUser</dc:creator>
      <dc:date>2024-07-02T06:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: REGEX rule in VTA 8.5. Lower cased words were also matched when using REGEX:[A-Z]</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/REGEX-rule-in-VTA-8-5-Lower-cased-words-were-also-matched-when/m-p/934371#M10872</link>
      <description>Sounds like a bug. I would contact SAS support.</description>
      <pubDate>Tue, 02 Jul 2024 08:27:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/REGEX-rule-in-VTA-8-5-Lower-cased-words-were-also-matched-when/m-p/934371#M10872</guid>
      <dc:creator>rudfaden</dc:creator>
      <dc:date>2024-07-02T08:27:35Z</dc:date>
    </item>
  </channel>
</rss>

