<?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 Using the regular expression library in SGX in Intel Confidential Computing</title>
    <link>https://community.intel.com/t5/Intel-Confidential-Computing/Using-the-regular-expression-library-in-SGX/m-p/1166495#M3078</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;I am trying to use regular expressions in my SGX app and in SGX v2.5 I can include the regex header file by doing "#include &amp;lt;regex&amp;gt;". However, I cannot compile the program that looks like the following:&lt;/P&gt;
&lt;PRE class="brush:cpp; class-name:dark;"&gt;int main() 
{ 
    string a = "GeeksForGeeks"; 
  
    // Here b is an object of regex (regular expression) 
    regex b("(Geek)(.*)"); // Geeks followed by any character 
  
    // regex_match function matches string a against regex b 
    if ( regex_match(a, b) ) 
        cout &amp;lt;&amp;lt; "String 'a' matches regular expression 'b' \n"; 
  
    // regex_match function for matching a range in string  
    // against regex b 
    if ( regex_match(a.begin(), a.end(), b) ) 
        cout &amp;lt;&amp;lt; "String 'a' matches with regular expression "
                "'b' in the range from 0 to string end\n"; 
  
    return 0; 
} &lt;/PRE&gt;

&lt;P&gt;The compiler says regex is not defined. I wonder if regex is not being supported in SGX, yet.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ronny&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 17 Jun 2019 12:30:28 GMT</pubDate>
    <dc:creator>Ko__Ronny</dc:creator>
    <dc:date>2019-06-17T12:30:28Z</dc:date>
    <item>
      <title>Using the regular expression library in SGX</title>
      <link>https://community.intel.com/t5/Intel-Confidential-Computing/Using-the-regular-expression-library-in-SGX/m-p/1166495#M3078</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I am trying to use regular expressions in my SGX app and in SGX v2.5 I can include the regex header file by doing "#include &amp;lt;regex&amp;gt;". However, I cannot compile the program that looks like the following:&lt;/P&gt;
&lt;PRE class="brush:cpp; class-name:dark;"&gt;int main() 
{ 
    string a = "GeeksForGeeks"; 
  
    // Here b is an object of regex (regular expression) 
    regex b("(Geek)(.*)"); // Geeks followed by any character 
  
    // regex_match function matches string a against regex b 
    if ( regex_match(a, b) ) 
        cout &amp;lt;&amp;lt; "String 'a' matches regular expression 'b' \n"; 
  
    // regex_match function for matching a range in string  
    // against regex b 
    if ( regex_match(a.begin(), a.end(), b) ) 
        cout &amp;lt;&amp;lt; "String 'a' matches with regular expression "
                "'b' in the range from 0 to string end\n"; 
  
    return 0; 
} &lt;/PRE&gt;

&lt;P&gt;The compiler says regex is not defined. I wonder if regex is not being supported in SGX, yet.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ronny&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2019 12:30:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Confidential-Computing/Using-the-regular-expression-library-in-SGX/m-p/1166495#M3078</guid>
      <dc:creator>Ko__Ronny</dc:creator>
      <dc:date>2019-06-17T12:30:28Z</dc:date>
    </item>
  </channel>
</rss>

