XSD: Character in regular expression

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • MBow

    #1

    XSD: Character in regular expression

    I have an XSD that contains a pattern with the expression '[^.]'. Can
    anyone tell me what this means?

    Thanks in advance
  • Martin Honnen

    #2
    Re: XSD: Character in regular expression



    MBow wrote:
    [color=blue]
    > I have an XSD that contains a pattern with the expression '[^.]'. Can
    > anyone tell me what this means?[/color]

    []
    either lists characters to match or if it starts with
    [^]
    then it lists characters not to match.
    So in that case
    [^.]
    matches anything but the dot '.' character.

    --

    Martin Honnen
    http://JavaScript.FAQTs.com/

    Comment

    Working...