<?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 Data Reviewer does not seem to be recognizing my regular expression? in ArcGIS Data Reviewer Questions</title>
    <link>https://community.esri.com/t5/arcgis-data-reviewer-questions/data-reviewer-does-not-seem-to-be-recognizing-my/m-p/495583#M733</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to use Data Reviewer extension to validate parcel ID's in our parcel data. I created a Regular Expression Check on the parcels table but when I run it, it seems to return all parcel records. My understanding is that the regular expression check should only return records that do not match the regex. However, when I check the regular expression via&amp;nbsp;&lt;A class="link-bare" href="https://regex101.com/tests" title="https://regex101.com/tests"&gt;https://regex101.com&lt;/A&gt;&amp;nbsp;it works as expected. This makes me think that Data Reviewer is not recognizing my regular expression. The regular expression that I am trying to use is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;^(\d{3})([-])(\d{1,2})([.])(\d{2})([-])(\d{1,4})([.])(\d{2})$&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should match our parcel ID format (which&amp;nbsp;can be something like 131-10.00-600.00) and should return invalid parcel ID's but as I said before, it seems to return all records in the table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using Arcmap version 10.5.1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas on why this would not be working?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Edit: So after reading &lt;A href="http://desktop.arcgis.com/en/arcmap/10.3/guide-books/extensions/data-reviewer/metacharacters-used-to-build-regular-expressions.htm"&gt;this page&lt;/A&gt;&amp;nbsp;it looks like the data reviewer implementation of regular expressions does not support the use of the {} tokens. So now my question is: Does anyone know how to write a similar regex that would be recognized by data reviewer? I can get close but it ends up being far too inclusive. Also, are there any plans to improve the data reviewer regex implementation?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Edit 2: Well after playing around with the accepted tokens some more I was able to come up with an acceptable replacement by using the | token:&lt;BR /&gt;^(\d\d\d)([-])((\d)|(\d\d))([.])(\d\d)([-])((\d)|(\d\d)|(\d\d\d)|(\d\d\d\d))([.])(\d\d)$&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="385888" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/385888_pastedImage_2.png" style="width: 620px; height: 564px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Dec 2017 20:41:00 GMT</pubDate>
    <dc:creator>deleted-user--MMnVrog9xw_</dc:creator>
    <dc:date>2017-12-06T20:41:00Z</dc:date>
    <item>
      <title>Data Reviewer does not seem to be recognizing my regular expression?</title>
      <link>https://community.esri.com/t5/arcgis-data-reviewer-questions/data-reviewer-does-not-seem-to-be-recognizing-my/m-p/495583#M733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to use Data Reviewer extension to validate parcel ID's in our parcel data. I created a Regular Expression Check on the parcels table but when I run it, it seems to return all parcel records. My understanding is that the regular expression check should only return records that do not match the regex. However, when I check the regular expression via&amp;nbsp;&lt;A class="link-bare" href="https://regex101.com/tests" title="https://regex101.com/tests"&gt;https://regex101.com&lt;/A&gt;&amp;nbsp;it works as expected. This makes me think that Data Reviewer is not recognizing my regular expression. The regular expression that I am trying to use is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;^(\d{3})([-])(\d{1,2})([.])(\d{2})([-])(\d{1,4})([.])(\d{2})$&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should match our parcel ID format (which&amp;nbsp;can be something like 131-10.00-600.00) and should return invalid parcel ID's but as I said before, it seems to return all records in the table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using Arcmap version 10.5.1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas on why this would not be working?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Edit: So after reading &lt;A href="http://desktop.arcgis.com/en/arcmap/10.3/guide-books/extensions/data-reviewer/metacharacters-used-to-build-regular-expressions.htm"&gt;this page&lt;/A&gt;&amp;nbsp;it looks like the data reviewer implementation of regular expressions does not support the use of the {} tokens. So now my question is: Does anyone know how to write a similar regex that would be recognized by data reviewer? I can get close but it ends up being far too inclusive. Also, are there any plans to improve the data reviewer regex implementation?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Edit 2: Well after playing around with the accepted tokens some more I was able to come up with an acceptable replacement by using the | token:&lt;BR /&gt;^(\d\d\d)([-])((\d)|(\d\d))([.])(\d\d)([-])((\d)|(\d\d)|(\d\d\d)|(\d\d\d\d))([.])(\d\d)$&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="385888" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/385888_pastedImage_2.png" style="width: 620px; height: 564px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2017 20:41:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-data-reviewer-questions/data-reviewer-does-not-seem-to-be-recognizing-my/m-p/495583#M733</guid>
      <dc:creator>deleted-user--MMnVrog9xw_</dc:creator>
      <dc:date>2017-12-06T20:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: Data Reviewer does not seem to be recognizing my regular expression?</title>
      <link>https://community.esri.com/t5/arcgis-data-reviewer-questions/data-reviewer-does-not-seem-to-be-recognizing-my/m-p/495584#M734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wonder if you could shine some light on a similar problem I'm having with the Data Reviewer.&amp;nbsp; I want to check for the presence of any special characters in a given string field and tag as an error if found:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'!"#$%&amp;amp;\'()*+,-./:;&amp;lt;=&amp;gt;?@[\\]^_`{|}~&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I enclose that group with brackets I'm not getting the results I figured on.&amp;nbsp; Any hints?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/people/james.gough_SussexCounty"&gt;james.gough_SussexCounty&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2018 23:55:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-data-reviewer-questions/data-reviewer-does-not-seem-to-be-recognizing-my/m-p/495584#M734</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2018-03-07T23:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: Data Reviewer does not seem to be recognizing my regular expression?</title>
      <link>https://community.esri.com/t5/arcgis-data-reviewer-questions/data-reviewer-does-not-seem-to-be-recognizing-my/m-p/495585#M735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will have to escape some of those characters with backslash as they are metacharacters. Also adding a plus sign at the end means match one or more times. Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[\'\!\"\#\$\%\&amp;amp;\'\(\)\*\+\,\-\.\/\:\;\&amp;lt;\=\&amp;gt;\?\@\[\\\]\^\_\`\{\|\}\~]+&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 13:33:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-data-reviewer-questions/data-reviewer-does-not-seem-to-be-recognizing-my/m-p/495585#M735</guid>
      <dc:creator>deleted-user--MMnVrog9xw_</dc:creator>
      <dc:date>2018-03-08T13:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: Data Reviewer does not seem to be recognizing my regular expression?</title>
      <link>https://community.esri.com/t5/arcgis-data-reviewer-questions/data-reviewer-does-not-seem-to-be-recognizing-my/m-p/495586#M736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll give it a try.&amp;nbsp; Thanks for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 14:41:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-data-reviewer-questions/data-reviewer-does-not-seem-to-be-recognizing-my/m-p/495586#M736</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2018-03-08T14:41:27Z</dc:date>
    </item>
  </channel>
</rss>

