Open up the GSE and navigate to the Operating environment, Connections tab, select Active console from the Components menu, and enter a valid expression. When hovering over the Version field the system shows a regular expression in a popup tooltip that the text provided must comply with. This will not show once a correct formatting string is entered. In addition, if the user puts in an invalid entry and presses validate then the full error message with regex is provided in the error window The message is of the form: 'version' : Value is invalid according to data type (Value 'GA5.7' does not match the pattern GA(20(08|09|10|11)\.1|2010\.4|2011\.2\.1|([3-9]|1\d)\.\d+\.\d+)(-\d{6})?)
This says that the Number must be of the form GA{A}, GA{A}-{X} or GA{B}.{C}.{D}-{X} In this case {A}is one of 2008.1. 2009.1, GA2010.1, GA2011.1, GA2010.4, GA2011.2.1 {B}is a number between 3 and 19 (inclusive) {C}is any positive integer {D}is any positive integer {X}is any 6 digit integer So the following are all allowed
|
Comments
0 comments
Please sign in to leave a comment.