Regular Expression Syntax
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
Tagged:
0
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 150 General Questions
- 148 Thrust Services
- 57 OpenText Hackathon
- 37 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 32 eDOCS
- 186 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 8 XM Fax
- Follow Categories