Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
XML::RegExp(3)	      User Contributed Perl Documentation	XML::RegExp(3)

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 v5.24.1			  2012-03-26			XML::RegExp(3)

NAME | SYNOPSIS | DESCRIPTION | AUTHOR

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=XML::RegExp&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help