Perl Diver 2.31
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

XML::RegExp

Name XML::RegExp
Version 0.04
Located at /usr/share/perl5/vendor_perl
File /usr/share/perl5/vendor_perl/XML/RegExp.pm
Is Core No
Search CPAN for this module XML::RegExp
Documentation XML::RegExp
Module Details XML::RegExp

NAME

XML::RegExp - Regular expressions for XML tokens


SYNOPSIS

 use XML::RegExp;
 if ($my_name =~ /^$XML::RegExp::Name$/)
 {
   # $my_name is a valid XML 'Name'
 }


DESCRIPTION

This package contains regular expressions for the following XML 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 http://www.w3.org/TR/REC-xml.

Also contains the regular expressions for the following tokens from the XML Namespaces spec at http://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>

Perl Diver brought to you by ScriptSolutions.com © 1997- 2024