-
-
26 Mar 2012 17:32:44 UTC
- Distribution: XML-RegExp
- Module version: 0.04
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (0)
- Testers (10285 / 1 / 0)
- Kwalitee
Bus factor: 0- 100.00% Coverage
- License: unknown
- Activity
24 month- Tools
- Download (3.52KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- unknown
- Reverse dependencies
- CPAN Testers List
- Dependency graph
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>
Module Install Instructions
To install XML::RegExp, copy and paste the appropriate command in to your terminal.
cpanm XML::RegExp
perl -MCPAN -e shell install XML::RegExp
For more information on module installation, please visit the detailed CPAN module installation guide.