Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Question for regex experts

by evgen-i (Novice)
on Jun 27, 2013 at 12:29 UTC ( [id://1041005]=note: print w/replies, xml ) Need Help??


in reply to Re: Question for regex experts
in thread Question for regex experts

Thanks, but this is just a solution for this particular example; I need a general solution for any codes.

Replies are listed 'Best First'.
Re^3: Question for regex experts
by sumeetgrover (Monk) on Jun 27, 2013 at 12:37 UTC

    You need to implement a lookup table that contains a list of all possible, or otherwise a subset, of HTML character codes.

    Therefore, each time your program encounters

    code;
    instead of
    &code;
    , it will need to add an ampersand at the start.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1041005]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2024-03-29 13:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found