|
Server : Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4 System : Linux server.jackjohnson.com 2.6.32-279.5.2.el6.x86_64 #1 SMP Fri Aug 24 01:07:11 UTC 2012 x86_64 User : jackjohn ( 502) PHP Version : 5.3.17 Disable Function : NONE Directory : /usr/lib64/python2.6/Tools/scripts/ |
Upload File : |
Ńň
§ÚęLc @ sú d Z d d k Z d d k Z d d k Z e i d Z d d d Z d Z e d j o e
e i d j o e e i d Z
n
e i Z
e
e i d j o e e i d d
Z n
e i Z e
i Z e e Z e e e n d S( sĽ Utility for parsing HTML entity definitions available from:
http://www.w3.org/ as e.g.
http://www.w3.org/TR/REC-html40/HTMLlat1.ent
Input is read from stdin, output is written to stdout in form of a
Python snippet defining a dictionary "entitydefs" mapping literal
entity name to character or numeric entity.
Marc-Andre Lemburg, mal@lemburg.com, 1999.
Use as you like. NO WARRANTIES.
i˙˙˙˙Ns7 <!ENTITY +(\w+) +CDATA +"([^"]+)" +-- +((?:.|
)+?) *-->i c C s
d } | d j o t | } n h } xU t i | | | } | p Pn | i \ } } } | | f | | <| i } q, | S( Ni ( t Nonet lent entityREt searcht groupst end( t textt post endpost dt mt namet charcodet comment( ( s3 /usr/lib64/python2.6/Tools/scripts/parseentities.pyt parse s
c C sŐ | i d | i } | i x | D] \ } \ } } | d d j o>