I have a field in which I want to limit allowed characters to alpha letters, whitespace, digits, ampersands, and semicolons.
regex [A-Za-z0-9\s;&]* test string >abc1 23> When I try the above regular expression online at http://www.fileformat.info/tool/regex.htm It shows it to be valid. Arguably, the engine is a Java regex engine, but I would hope it to be close. When I compile my schema with scomp, it fails on the ampersand, seeming to think it is an escape for following characters. This is the error message I get: error: Unexpected character encountered (lex state 12): ']' I've tried several combinations, and all seem to fail with the same type of error. It also fails to validate on the W3c site. Is there something I'm missing? Thanks, Robert Costello --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

