<?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: Check for Unicode Categories in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-for-unicode-categories/m-p/11373486#M1923113</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The only current solution in ABAP is to use the static method cl_icu_character=&amp;gt;get_property_value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Input:&lt;/P&gt;&lt;P&gt;im_c = &amp;lt;character&amp;gt;&lt;/P&gt;&lt;P&gt;im_property = 'General_Category'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output:&lt;/P&gt;&lt;P&gt;ex_value = 'Lowercase_Letter' , 'Uppercase_Letter' , 'Titelcase_Letter' , etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may map the returned string to a "Perl-like" category name.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;Lowercase_Letter -&amp;gt; Ll&lt;/P&gt;&lt;P&gt;Uppercase_Letter -&amp;gt; Lu&lt;/P&gt;&lt;P&gt;Titlecase_Letter -&amp;gt; Lt&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Nov 2015 11:49:30 GMT</pubDate>
    <dc:creator>otto_boehrer</dc:creator>
    <dc:date>2015-11-11T11:49:30Z</dc:date>
    <item>
      <title>Check for Unicode Categories</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-for-unicode-categories/m-p/11373485#M1923112</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;what I am trying to do is to check in ABAP a given URL for characters from certain UC categories.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, I want to check if an input characters belongs to category [L], which is actually consisting of the (sub) categories Ll, Lm, Lo, Lt and Lu.&lt;/P&gt;&lt;P&gt;There are thousands of characters in these categories.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Perl, for example, a regex for checking for a lower case letter would simply look like this \p{Ll}, but that does no work in ABAP regex.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone had such a problem before or even a solution for this in ABAP?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Otto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Nov 2015 17:40:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-for-unicode-categories/m-p/11373485#M1923112</guid>
      <dc:creator>otto_boehrer</dc:creator>
      <dc:date>2015-11-03T17:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: Check for Unicode Categories</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-for-unicode-categories/m-p/11373486#M1923113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The only current solution in ABAP is to use the static method cl_icu_character=&amp;gt;get_property_value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Input:&lt;/P&gt;&lt;P&gt;im_c = &amp;lt;character&amp;gt;&lt;/P&gt;&lt;P&gt;im_property = 'General_Category'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output:&lt;/P&gt;&lt;P&gt;ex_value = 'Lowercase_Letter' , 'Uppercase_Letter' , 'Titelcase_Letter' , etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may map the returned string to a "Perl-like" category name.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;Lowercase_Letter -&amp;gt; Ll&lt;/P&gt;&lt;P&gt;Uppercase_Letter -&amp;gt; Lu&lt;/P&gt;&lt;P&gt;Titlecase_Letter -&amp;gt; Lt&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2015 11:49:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-for-unicode-categories/m-p/11373486#M1923113</guid>
      <dc:creator>otto_boehrer</dc:creator>
      <dc:date>2015-11-11T11:49:30Z</dc:date>
    </item>
  </channel>
</rss>

