Chapter 10 Regular expressions
Patterns are used to restrict the values of simple types to certain sequences of characters. For example, a pattern could specify that an SKU must be three digits, followed by a dash, followed by two uppercase letters. These patterns are described by regular expressions. This chapter explains the XML Schema syntax for regular expressions.
10.1 The structure of a regular expression
The XML Schema’s regular expression language is very similar to that of the Perl programming language. Regular expressions are made up of branches, which are in turn made up of pieces. Each piece consists of one atom and an optional quantifier.
For example, suppose the product number in your organization ...