- From: Jeni Tennison <jeni@jenitennison.com>
- Date: Tue, 1 Jul 2003 15:59:18 +0100
- To: "Colin Mackenzie" <colin@elecmc.com>
- CC: xmlschema-dev@w3.org
Hi Colin, > but what is required is that pattern does not begin with a whole > string e.g. "STR1234" and "STRxccc" are bad (because of STR) but > "SAT1234" and "CARxccc" are good (not beginning with STR). I think you can use: (([^S].*)|(S[^T].*)|(ST[^R].*)) in other words, the string can start with something that isn't S; or it can start with S, as long as it's followed by something that isn't T; or it can start with ST, as long as it's followed by something that isn't R. Cheers, Jeni --- Jeni Tennison http://www.jenitennison.com/
Received on Tuesday, 1 July 2003 10:59:22 UTC