<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Problem using &amp;quot;matches pattern&amp;quot; as a filter</title><link>https://www.infopathdev.com:443/forums/thread/71933.aspx</link><pubDate>Thu, 10 Nov 2011 13:38:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:71933</guid><dc:creator>rcant</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/71933.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=71933</wfw:commentRss><description>&lt;p&gt;did you find a solution to this issue?&lt;/p&gt;
&lt;p&gt;i have a similar situation&lt;/p&gt;
&lt;p&gt;If setup Conditional Formatttion using any letter \p{L} -- it ends up falining&amp;nbsp; -- ie. field1 matches pattern \d\d-\p{L}&amp;nbsp; (then hide a section)&lt;/p&gt;
&lt;p&gt;test it in preview and workd fine!&lt;/p&gt;
&lt;p&gt;However,&amp;nbsp;&amp;nbsp;Then in design mode i switch views then go back to that conditional formatting --&amp;nbsp; it reads:&amp;nbsp; field1 matches pattern invalid pattern&lt;/p&gt;
&lt;p&gt;now the formatting obviously fails&lt;/p&gt;
&lt;p&gt;&amp;nbsp;apparently there is a bug of sorts when using&amp;nbsp; \p{L} in condition formatting&lt;/p&gt;
&lt;p&gt;&amp;nbsp;has anyone seen this or know of a work around??&lt;/p&gt;</description></item><item><title>Re: Problem using &amp;quot;matches pattern&amp;quot; as a filter</title><link>https://www.infopathdev.com:443/forums/thread/18152.aspx</link><pubDate>Wed, 24 May 2006 10:58:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:18152</guid><dc:creator>pcapsey</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/18152.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=18152</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;I think I've found out why I'm getting the above error message.&lt;br /&gt;&lt;br /&gt;When I set up the filter, I use the pattern \p{L}, which translates as any letter. This gives the filter shown in my original message, namely:&lt;br /&gt;&lt;br /&gt;Document_Revision does not match pattern Custom Pattern A&lt;br /&gt;&lt;br /&gt;When I preview the form I get the error message.&lt;br /&gt;&lt;br /&gt;When I look at the filter, the condition has changed to:&lt;br /&gt;&lt;br /&gt;Document_Revision does not match pattern Custom Pattern: Invalid Pattern&lt;br /&gt;&lt;br /&gt;When I check the pattern, it has changed to \p, which is invalid.&lt;br /&gt;&lt;br /&gt;It doesn't happen every time I preview the form, and I haven't been able to identify the action that triggers the change to the filter pattern - not that the filter pattern should change at all. It happens using both filters and conditional formatting on repeating tables.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;&lt;br /&gt;Pete</description></item><item><title>Problem using "matches pattern" as a filter</title><link>https://www.infopathdev.com:443/forums/thread/18015.aspx</link><pubDate>Tue, 23 May 2006 14:09:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:18015</guid><dc:creator>pcapsey</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/18015.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=18015</wfw:commentRss><description>Hi all,&lt;br /&gt;&lt;br /&gt;I've come across a problem with using the condition "does not match pattern" or "matches pattern" in a filter on a repeating table when switching views.&lt;br /&gt;&lt;br /&gt;I have an initial view, from which the user selects the criteria to query the database. In this case it is a document number, selected from a dropdown list. Once the user has selected the document number and clicked the Query button, the form opens a second view with a repeating table. This table displays all documents that have the selected document number assigned to them.&lt;br /&gt;&lt;br /&gt;I want to filter these documents so that a subset is displayed. I go into Repeating Table Properties &amp;gt; Display &amp;gt; Filter Data, and add the following filter:&lt;br /&gt;&lt;br /&gt;Document_Revision does not match pattern Custom Pattern A &lt;br /&gt;&lt;br /&gt;This should display any document that does not have the revision field set to a single alphabetic character. When I open the form, I get the following error message:&lt;br /&gt;&lt;br /&gt;&lt;font color="blue"&gt;"InfoPath cannot open the following view: PF_CDM_Summary&lt;br /&gt;The XSL transform for the View XSL failed.&lt;br /&gt;&lt;br /&gt;InfoPath&lt;br /&gt;InfoPath has encountered an error. The operation failed.&lt;br /&gt;A script error occurred.&lt;br /&gt;&lt;br /&gt;The following call failed: Ut...&lt;br /&gt;&lt;br /&gt;Error occurred during a call to property or method 'Match'."&lt;/font id="blue"&gt;&lt;br /&gt;&lt;br /&gt;I don't have any custom scripts in the form. I got the same error when I tried to display an expression box to count the number of records displayed, with a similar filter as part of the Count function.&lt;br /&gt;&lt;br /&gt;I'm not sure if this is a bug in InfoPath or a problem with my form. I've achieved the required functionality by going into Repeating Table Properties &amp;gt; Conditional Formatting and using the same filter, which suggests to me it's a bug!&lt;br /&gt;&lt;br /&gt;I Googled the error and only got one hit, and that didn't have a solution. I'm using InfoPath 2003 SP2 with an Access 2003 database and Windows 2000 Professional SP4.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;&lt;br /&gt;Pete&lt;br /&gt;</description></item></channel></rss>