I'm working with xml 1.0, actually xsd-schema, so I use regex restrictions, so I have a problem with lookahead negative. As I've read there is no lookahead function in xml 1.0 restrictions.
Preconditions:
- String starting and ending with no "/";
- No "//" in the string;
- String length is 1-16.
So help me to combine regex equivalent to:
([-+A-Z\w\s:?().,'](?:[-+A-Z\w\s:?().,']|/(?!/)){1,14}[-+A-Z\w\s:?().,'])
No comments:
Post a Comment