<?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 Regex parse for quotes in Qlik App Automation in Qlik Automate</title>
    <link>https://community.qlik.com/t5/Qlik-Automate/Regex-parse-for-quotes-in-Qlik-App-Automation/m-p/2483064#M4796</link>
    <description>&lt;P&gt;Hi, I am trying to match part of a load script looking something like (in the form that one gets in when using the apps API):&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"[...] This is where the var gets defined\r\nLET vMinDate = '1994-01-01'; [...]"&lt;/P&gt;
&lt;P data-pm-slice="1 1 []"&gt;I want to extract the part where the variable is defined and later replace it.&lt;/P&gt;
&lt;P data-pm-slice="1 1 []"&gt;I tried the following regex but somehow this does not work: (LET\s+vMinDate\s*=\s*'([0-9]{4}-[0-9]{2}-[0-9]{2})')&lt;/P&gt;
&lt;P data-pm-slice="1 1 []"&gt;Trying&amp;nbsp;(LET\s+vMinDate\s*=\s) matches&amp;nbsp;LET vMinDate =, (([0-9]{4}-[0-9]{2}-[0-9]{2})) matches 1994-01-01, so the problem seem to be the quotes (').&amp;nbsp;(I also tried double quotes, same result).&lt;/P&gt;
&lt;P data-pm-slice="1 1 []"&gt;I always get following output: "&lt;SPAN&gt;{regexparse: ' . JSONPath('$.vLoadScriptTest', $outputs) . ', (LET\s+vMinDate\s*=\s*'([0-9]{4}-[0-9]{2}-[0-9]{2})')}"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P data-pm-slice="1 1 []"&gt;Does somebody know how to correctly handle/escape them?&amp;nbsp;&lt;/P&gt;
&lt;P data-pm-slice="1 1 []"&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 23 Sep 2024 19:08:10 GMT</pubDate>
    <dc:creator>tolange</dc:creator>
    <dc:date>2024-09-23T19:08:10Z</dc:date>
    <item>
      <title>Regex parse for quotes in Qlik App Automation</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Regex-parse-for-quotes-in-Qlik-App-Automation/m-p/2483064#M4796</link>
      <description>&lt;P&gt;Hi, I am trying to match part of a load script looking something like (in the form that one gets in when using the apps API):&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"[...] This is where the var gets defined\r\nLET vMinDate = '1994-01-01'; [...]"&lt;/P&gt;
&lt;P data-pm-slice="1 1 []"&gt;I want to extract the part where the variable is defined and later replace it.&lt;/P&gt;
&lt;P data-pm-slice="1 1 []"&gt;I tried the following regex but somehow this does not work: (LET\s+vMinDate\s*=\s*'([0-9]{4}-[0-9]{2}-[0-9]{2})')&lt;/P&gt;
&lt;P data-pm-slice="1 1 []"&gt;Trying&amp;nbsp;(LET\s+vMinDate\s*=\s) matches&amp;nbsp;LET vMinDate =, (([0-9]{4}-[0-9]{2}-[0-9]{2})) matches 1994-01-01, so the problem seem to be the quotes (').&amp;nbsp;(I also tried double quotes, same result).&lt;/P&gt;
&lt;P data-pm-slice="1 1 []"&gt;I always get following output: "&lt;SPAN&gt;{regexparse: ' . JSONPath('$.vLoadScriptTest', $outputs) . ', (LET\s+vMinDate\s*=\s*'([0-9]{4}-[0-9]{2}-[0-9]{2})')}"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P data-pm-slice="1 1 []"&gt;Does somebody know how to correctly handle/escape them?&amp;nbsp;&lt;/P&gt;
&lt;P data-pm-slice="1 1 []"&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2024 19:08:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Regex-parse-for-quotes-in-Qlik-App-Automation/m-p/2483064#M4796</guid>
      <dc:creator>tolange</dc:creator>
      <dc:date>2024-09-23T19:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: Regex parse for quotes in Qlik App Automation</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Regex-parse-for-quotes-in-Qlik-App-Automation/m-p/2484582#M4875</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/166453"&gt;@tolange&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please share more details regarding this issue. &lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;What is the expected result vs the actual result?&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Attach the automation workspace and failed automation run json file.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 09:15:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Regex-parse-for-quotes-in-Qlik-App-Automation/m-p/2484582#M4875</guid>
      <dc:creator>AfeefaTk</dc:creator>
      <dc:date>2024-10-01T09:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: Regex parse for quotes in Qlik App Automation</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Regex-parse-for-quotes-in-Qlik-App-Automation/m-p/2484705#M4880</link>
      <description>&lt;P&gt;Hi Afeefa, thanks for reaching out. I was i the meantime able to resolve this myself - it's pretty simple as all the character escape logic is not needed. One can just have spaces and quotes in the regex and it works.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 15:17:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Regex-parse-for-quotes-in-Qlik-App-Automation/m-p/2484705#M4880</guid>
      <dc:creator>tolange</dc:creator>
      <dc:date>2024-10-01T15:17:47Z</dc:date>
    </item>
  </channel>
</rss>

