XML Schema regular expressions builderTo generate XML Schema regular expressions use the action → It will open a dialog which allows you to build and test regular
expressions. The dialog contains the following sections: Regular expressions editor - allows you edit
the regular expression to be tested and used. Content completion is
available and presents a list with all the predefined expressions.
It is accessible by pressing Ctrl + Space. Category combo box - here you can choose from
several categories of predefined expressions. The selected category
influences the displayed expressions in the Available
expressions table. Available expressions table - it consists of
two columns. The first one presents the regular expressions, the
second displays a short description of the expressions. The set of
expressions depend on the category selected in the previous combo
box. You can add an expression in the Regular expressions
editor by double-clicking on the expression row in
the table You will notice that in the case of Character
categories and Block names the
expressions are also listed in complementary format. For example:
\p{Lu} - Uppercase letters;
\P{Lu} - Complement of: Uppercase
letters.
After editing and testing your regular expression you can insert it in the
current editor. The Insert button will become active when
an editor is opened in the background and there is an expression in the
Regular expressions editor. The regular expression builder cannot be used to insert regular expressions in
the grid version of a document editor.
Accordingly the Insert button of the dialog will be
disabled if the current document is edited in grid mode.
© 2008 syncRO soft ltd. |