Registered: 1158198299 Posts: 5,507
Reply with quote
Regular Expression Syntax
Date created: 13 Mar 2002
Last edited: 05 Jul 2006
The information in this article applies to product:
e-Work 5.x 6.x Issue An entry in a field using a mask is accepted in the web client but not in the Win32 client. Resolution Here is an example. If you have the mask [A-Z] on a field, entering "AA" will be accepted in the web client but not in the Win32 client. This is because all masks are assumed to be searches for an exact match in the Win32 client. In the web client, which relies on the Microsoft Regular Expression Object, it will return true for any match within that text. To make the mask function the same with both clients, it is necessary to be more rigorous in syntax. Adding a '^' and '$' to the beginning and end of the mask, respectively, will ensure that both clients respond the same. See the following sites for more information on regular expressions: http://www.regexplib.com/ http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/ab0766e1-7037-45ed-aa23-706f58358c0e.asp
Keywords: kb363 __________________ Post an example, and we will have a much better idea what the problem is. In about 90% of posts, the problem is one of communication. Examples bridge that gap.