XML::RegExp (3)
Leading comments
Automatically generated by Pod::Man 2.25 (Pod::Simple 3.16) Standard preamble: ========================================================================
NAME
XML::RegExp - Regular expressions for XML tokensSYNOPSIS
use XML::RegExp; if ($my_name =~ /^$XML::RegExp::Name$/) { # $my_name is a valid XML 'Name' }
DESCRIPTION
This package contains regular expressions for the followingXML
tokens:
BaseChar, Ideographic, Letter, Digit, Extender, CombiningChar, NameChar,
EntityRef, CharRef, Reference, Name, NmToken, and AttValue.
The definitions of these tokens were taken from the
XML
spec
(Extensible Markup Language 1.0) at www.w3.org/TR/REC-xml <www.w3.org/TR/REC-xml>.
Also contains the regular expressions for the following tokens from the
XML
Namespaces spec at www.w3.org/TR/REC-xml-names <www.w3.org/TR/REC-xml-names>:
NCNameChar, NCName, QName, Prefix and LocalPart.
AUTHOR
Original Author is Enno Derksen <enno@att.com>Please send bugs, comments and suggestions to T.J. Mather <tjmather@tjmather.com>