File: //proc/2/cwd/proc/2/root/proc/2/task/2/root/usr/lib/python2.4/Tools/scripts/parseentities.pyc
mň
=5Dc @ sń d Z d k Z d k Z 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.
Ns7 <!ENTITY +(\w+) +CDATA +"([^"]+)" +-- +((?:.|
)+?) *-->i c C s d } | d j o t | } n h } xW t i | | | } | p Pn | i \ } } } | | f | | <| i
} q, W| S( Ni i ( t post endpost Nonet lent textt dt entityREt searcht mt groupst namet charcodet commentt end( R R R R R R R R
( ( t1 /usr/lib/python2.4/Tools/scripts/parseentities.pyt parse s
c C sŐ | i d | i } | i x | D] \ } \ } } | d d j o>