in reply to Re^2: Site Search perlscript and security
in thread Site Search perlscript and security
IMHO, \w and \s are too liberal in what they accept. Chances are that your search will not need Unicode, and \w in particular is going to accept that if your perl has Unicode support. Unless you know you need Unicode, it's probably better to use the explicit character class [A-Za-z0-9].
"There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Site Search perlscript and security
by steelrose (Scribe) on Nov 30, 2005 at 14:18 UTC |