Basically I am going to turn some funny characters into HTML entities using the aforementioned HTML::Entities so I can display them in a HTML page. I therefore need to accept them, but also the other chars. I don't want to allow people posting dodgy stuff that is going to be damaging...
As far as I am aware HTML::Entities will only turn characters into their HTML entity equivalent and vice versa, depending on the function used, correct? Does this explain? I'm afraid my explanations are somewhat cryptic sometimes - sorry. On Tue, 07 Sep 2004 21:52:59 +0200, Gunnar Hjalmarsson <[EMAIL PROTECTED]> wrote: > Chris Welch wrote: > > I have a dilemma, I am processing CGI forms and I need to come up > > with a regex that will accept HTML entities (i.e., " or > > {), > > Your description makes me fear that you are somewhat off track. *Why* > would you need such a regex? > > If you explain more about the context, it would be easier to advise. > > -- > Gunnar Hjalmarsson > Email: http://www.gunnar.cc/cgi-bin/contact.pl > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > <http://learn.perl.org/> <http://learn.perl.org/first-response> > > -- Oh is this the way they say the future's meant to feel, Or just 20,000 people standing in a field -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>