You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
966 B
33 lines
966 B
Regexp: (\.//)?(((child::)?((\i\c*:)?(\i\c*|\*)))|\.)(/(((child::)?((\i\c*:)?(\i\c*|\*)))|\.))*(\|(\.//)?(((child::)?((\i\c*:)?(\i\c*|\*)))|\.)(/(((child::)?((\i\c*:)?(\i\c*|\*)))|\.))*)*
|
|
a: Ok
|
|
a12/b312/b312/b312/b312/b312/b312/b312/b312/b312/b312/b312/b3: Ok
|
|
*: Ok
|
|
a|b: Ok
|
|
.//a:b: Ok
|
|
a/b/c: Ok
|
|
a/*/b: Ok
|
|
a:*/b:*/c:*: Ok
|
|
child::a/child::b:*: Ok
|
|
child::a/child::b:*|a/*/b|.//a:b: Ok
|
|
1: Fail
|
|
1ab: Fail
|
|
a:1: Ok
|
|
@a: Fail
|
|
ancestor::a: Ok
|
|
Regexp: (\.//)?(((child::)?(([\i-[:]][\c-[:]]*:)?([\i-[:]][\c-[:]]*|\*)))|\.)(/(((child::)?(([\i-[:]][\c-[:]]*:)?([\i-[:]][\c-[:]]*|\*)))|\.))*(\|(\.//)?(((child::)?(([\i-[:]][\c-[:]]*:)?([\i-[:]][\c-[:]]*|\*)))|\.)(/(((child::)?(([\i-[:]][\c-[:]]*:)?([\i-[:]][\c-[:]]*|\*)))|\.))*)*
|
|
a: Ok
|
|
a12/b312/b312/b312/b312/b312/b312/b312/b312/b312/b312/b312/b3: Ok
|
|
*: Ok
|
|
a|b: Ok
|
|
.//a:b: Ok
|
|
a/b/c: Ok
|
|
a/*/b: Ok
|
|
a:*/b:*/c:*: Ok
|
|
child::a/child::b:*: Ok
|
|
child::a/child::b:*|a/*/b|.//a:b: Ok
|
|
1: Fail
|
|
1ab: Fail
|
|
a:1: Fail
|
|
@a: Fail
|
|
ancestor::a: Fail
|