Displaying page
of
pages;
Items to
Title |
Test
Details
Match XML 'Time' Format
|
Expression |
\A((?:[01]{0,1}\d)|(?:[2][0123])):([012345]\d):([012345]\d)(.\d{1,3})?([Z]|(?:[+-]?(?:[01]{0,1}\d)|(?:[2][0123])):([012345]\d))\Z
|
Description |
Matches a literal string which conforms to the XML Schema Part 2 'Time' format, which is to say on of:
|
Matches |
23:59:59.999Z
|
Non-Matches |
24:61:61.999Z
|
Author |
Rating:
Not yet rated.
Geoff Granum
|
Title |
Test
Details
Match XML Date Type
|
Expression |
\A-?(\d{4,})-(\d{2})-(\d{2})([Z]|(?:[+-]?(?:[01]\d)|(?:[2][0123])):(?:[012345]\d))\Z
|
Description |
Matches a literal XML Date string: See http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/datatypes.html#date
|
Matches |
2006-12-17Z
|
Non-Matches |
Anything that does not conform to XML Date format
|
Author |
Rating:
Not yet rated.
Geoff Granum
|
Displaying page
of
pages;
Items to