<?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: Flag StrictRegex in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Flag-StrictRegex/m-p/68864#M21469</link>
    <description>Hi Sergei,&lt;BR /&gt;&lt;BR /&gt;1. It doesn't have to be unique, but Decipher will likely select the first matching value it finds and may not take into account previous training or other DFD configuration settings. So if it's not unique, you may get the wrong value.&lt;BR /&gt;&lt;BR /&gt;2. Your DFD attachment doesn't seem to have uploaded properly as I can't find it, though a screen shot would be adequate. The DFD informs Decipher on what data to extract, so without seeing your configuration I can't tell why it's doing what it does. And the training will help with location related information and what was previously verified as correct. Without knowing how many documents were verified and how they compare to the one you're having difficulty with, again it's tricky to know what potential impact it's having. &lt;BR /&gt;&lt;BR /&gt;Decipher should be able to reach a high recall rate after 3-5 documents of a specific layout, if not I would revisit your DFD configuration. If you haven't already, I would recommend reviewing our &lt;A href="https://bpdocs.blueprism.com/decipher-2-1/en-us/decipher-best-practices.htm?tocpath=User%20guides%7C_____7" target="_blank" rel="noopener"&gt;best practice guidance&lt;/A&gt; on this.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ben Lyons&lt;BR /&gt;Senior Product Specialist - Decipher&lt;BR /&gt;Blue Prism&lt;BR /&gt;UK based&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Mon, 28 Mar 2022 12:17:00 GMT</pubDate>
    <dc:creator>Ben.Lyons1</dc:creator>
    <dc:date>2022-03-28T12:17:00Z</dc:date>
    <item>
      <title>Flag StrictRegex</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Flag-StrictRegex/m-p/68861#M21466</link>
      <description>Hi all&lt;BR /&gt;&lt;BR /&gt;I have a problem understanding how the flags work. Particularly StrictRegex. From manual:&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="9398.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/9568iA95EC67D66A57151/image-size/large?v=v2&amp;amp;px=999" role="button" title="9398.png" alt="9398.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;In my process:&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="9399.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/9572i61970FD5846E0C11/image-size/large?v=v2&amp;amp;px=999" role="button" title="9399.png" alt="9399.png" /&gt;&lt;/span&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="9400.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/9575i98516D486C3CACC5/image-size/large?v=v2&amp;amp;px=999" role="button" title="9400.png" alt="9400.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Result:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; The field contains characters that should not have passed the regular expression.&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="9401.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/9577i2C0CD528DE5278FD/image-size/large?v=v2&amp;amp;px=999" role="button" title="9401.png" alt="9401.png" /&gt;&lt;/span&gt;Test in "Preview" same string:&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="9402.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/9576iA672176B9510EE36/image-size/large?v=v2&amp;amp;px=999" role="button" title="9402.png" alt="9402.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;Can someone help?&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Sergei Evdokimov&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Mar 2022 10:54:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Flag-StrictRegex/m-p/68861#M21466</guid>
      <dc:creator>SergeiEvdokimov</dc:creator>
      <dc:date>2022-03-23T10:54:00Z</dc:date>
    </item>
    <item>
      <title>RE: Flag StrictRegex</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Flag-StrictRegex/m-p/68862#M21467</link>
      <description>Hi Sergei,&lt;BR /&gt;&lt;BR /&gt;Technically regex is always 'strict' in terms of validation, unless you select the Soft Validation flag. Regex is primarily used for validation, to prevent incorrect values being passed to Blue Prism. It will also attempt to use it to find the values in the document, but that can be trickier where the regex pattern is found in multiple locations in the document.&lt;BR /&gt;&lt;BR /&gt;The Strict Regex flag is used to override the location training and sample headers when locating the value in the document. So in the event you want Decipher to find a value matching that pattern, regardless of where it is in the document, then use the flag. But it will need to be a unique pattern.&lt;BR /&gt;&lt;BR /&gt;You seem to be using the same pattern in multiple places and the strict regex flag, these will be working against you, as clearly the string pattern isn't unique. It's impossible to tell why you're getting such incorrect values returned without seeing the rest of your DFD or knowing what your training has been like.&lt;BR /&gt;&lt;BR /&gt;Also, as it mentions it's a tax field, perhaps you will have better results by changing it to Money.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ben Lyons&lt;BR /&gt;Senior Product Specialist - Decipher&lt;BR /&gt;Blue Prism&lt;BR /&gt;UK based&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Mar 2022 13:54:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Flag-StrictRegex/m-p/68862#M21467</guid>
      <dc:creator>Ben.Lyons1</dc:creator>
      <dc:date>2022-03-23T13:54:00Z</dc:date>
    </item>
    <item>
      <title>RE: Flag StrictRegex</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Flag-StrictRegex/m-p/68863#M21468</link>
      <description>Good afternoon, Ben&lt;BR /&gt;Thanks again for the detailed answer.&lt;BR /&gt;Let me ask you a few clarifying questions:&lt;BR /&gt;1. As I understand from your words, the pattern in the "Format Expression" field must be unique when used in conjunction with the "StrictRegex" flag. Does using a regular expression without the "StrictRegex" flag help Decifer in finding fields?&lt;BR /&gt;2. You said that it is not possible to understand without the DFD file. I am attaching the file below. But you also wrote that you need to understand what the training was like. I tried to follow the recommendations from the documentation. But I get a result in which the Decipher sometimes captures completely different values ​​​​from other places in the document. And so thoughts come to mind about how to reset everything (delete DFD) and start the study again. Can you tell me how to evaluate the quality of training technically?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Sergei Evdokimov&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Mar 2022 07:11:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Flag-StrictRegex/m-p/68863#M21468</guid>
      <dc:creator>SergeiEvdokimov</dc:creator>
      <dc:date>2022-03-24T07:11:00Z</dc:date>
    </item>
    <item>
      <title>RE: Flag StrictRegex</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Flag-StrictRegex/m-p/68864#M21469</link>
      <description>Hi Sergei,&lt;BR /&gt;&lt;BR /&gt;1. It doesn't have to be unique, but Decipher will likely select the first matching value it finds and may not take into account previous training or other DFD configuration settings. So if it's not unique, you may get the wrong value.&lt;BR /&gt;&lt;BR /&gt;2. Your DFD attachment doesn't seem to have uploaded properly as I can't find it, though a screen shot would be adequate. The DFD informs Decipher on what data to extract, so without seeing your configuration I can't tell why it's doing what it does. And the training will help with location related information and what was previously verified as correct. Without knowing how many documents were verified and how they compare to the one you're having difficulty with, again it's tricky to know what potential impact it's having. &lt;BR /&gt;&lt;BR /&gt;Decipher should be able to reach a high recall rate after 3-5 documents of a specific layout, if not I would revisit your DFD configuration. If you haven't already, I would recommend reviewing our &lt;A href="https://bpdocs.blueprism.com/decipher-2-1/en-us/decipher-best-practices.htm?tocpath=User%20guides%7C_____7" target="_blank" rel="noopener"&gt;best practice guidance&lt;/A&gt; on this.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ben Lyons&lt;BR /&gt;Senior Product Specialist - Decipher&lt;BR /&gt;Blue Prism&lt;BR /&gt;UK based&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 28 Mar 2022 12:17:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Flag-StrictRegex/m-p/68864#M21469</guid>
      <dc:creator>Ben.Lyons1</dc:creator>
      <dc:date>2022-03-28T12:17:00Z</dc:date>
    </item>
    <item>
      <title>RE: Flag StrictRegex</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Flag-StrictRegex/m-p/68865#M21470</link>
      <description>Also, deleting the DFD doesn't delete the training, this can only be done by deleting the Training Data. This will delete all the training for all documents processed, but can help with starting fresh.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ben Lyons&lt;BR /&gt;Senior Product Specialist - Decipher&lt;BR /&gt;Blue Prism&lt;BR /&gt;UK based&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 28 Mar 2022 12:18:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Flag-StrictRegex/m-p/68865#M21470</guid>
      <dc:creator>Ben.Lyons1</dc:creator>
      <dc:date>2022-03-28T12:18:00Z</dc:date>
    </item>
  </channel>
</rss>

