|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Pattern Constraints in TDS Message set |
« View previous topic :: View next topic » |
Author |
Message
|
kishoreleads |
Posted: Fri Jun 06, 2008 7:21 am Post subject: Pattern Constraints in TDS Message set |
|
|
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 |
|
 |
kishoreleads |
Posted: Fri Jun 06, 2008 8:15 am Post subject: |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|