Regular expressions

I apologise for not having included the subject in my
previous message!)


Hi again

So far, I have used regular expresions only to
constraint values for strings. For example:

<!-- Accepts numbers from 1 to 119, excluding 2,3 and
10 -->
<simpleType name="simpleTrendCNCAddress1Type"
base="string">
	<pattern
value="1|[4-9]|1[1-9]|[2-9][0-9]|1[0-1][0-9]"/>
</simpleType>

As you can see, this regular expression restricts
numeric values.

Does anybody know if I can have the same result using
a numeric data type?


Many thanks,

David


_________________________________________________________
Do You Yahoo!?
Obtenga su dirección de correo-e gratis @yahoo.com
en http://correo.espanol.yahoo.com

Received on Thursday, 14 September 2000 11:53:42 UTC