ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Pattern Constraints in TDS Message set

Post new topic  Reply to topic
 Pattern Constraints in TDS Message set « View previous topic :: View next topic » 
Author Message
kishoreleads
PostPosted: Fri Jun 06, 2008 7:21 am    Post subject: Pattern Constraints in TDS Message set Reply with quote

Newbie

Joined: 07 Apr 2008
Posts: 5

Hi,
I am having difficulty in understanding the pattern constraints of a particular field in IBM SWIFT message set.

Can someone help understand the pattern constraints.
*([a-zA-Z0-9/\-\?:\(\)\.,'\+\{\}]+ *)+

Also if you can share some documentation on this pattern constraints that would be very helpful.


Thanks,
Kishore
_________________
Thanks,
Kishore
Back to top
View user's profile Send private message
kishoreleads
PostPosted: Fri Jun 06, 2008 8:15 am    Post subject: Reply with quote

Newbie

Joined: 07 Apr 2008
Posts: 5

Hello,
Following is my understanding. Please correct me if I am wrong:

Let X = [a-zA-Z0-9/\-\?:\(\)\.,'\+\{\}]

Then X can be any Single character with the following values
a-z --> lower case characters
A-Z --> Upper case characters
0-9 --> Integers
/ --> Forward slash
\- --> Hyphen
\? --> question mark
: --> colon
\( --> Opening parentheses
\) --> Closing parentheses
\. --> Period
, --> comma
` --> Apostrophe
\+ --> Plus symbol
\{ --> Opening curly brace
\} --> Closing curly brace


let Y = [a-zA-Z0-9/\-\?:\(\)\.,'\+\{\}]+
which is equal to Y = [X]+ i.e. X repeats 1 or more times

Let Z = Y* --> Y can repeat for 0 or more times
(Z)+ --> Whole group (Z) can repeat for 1 or more times
_________________
Thanks,
Kishore
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Pattern Constraints in TDS Message set
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.