On Jun 11, JupiterHost.Net said:

>Randy W. Sims wrote:
>
>> A better solution would be to allow only a subset of metacharacters,
>> escaping everything else. This would requre much more effort, but would
>> be safer. Perhaps there is a module that does something like this? If
>> not, there should be.
>
>I'm looking at the Regex:: modules but havn't seen anything yet (search
>for Regex:: on search.cpan.org and click on any link in the results,
>mine go now where???) , also perldoc perlre has some things about this
>but for now I think it'll do me :)

When I finish writing Regexp::Parser, that seems like a good idea... the
ability to parse a regex and strip out (or auto-quote) a specific set of
metacharacters.

-- 
Jeff "japhy" Pinyan      [EMAIL PROTECTED]      http://www.pobox.com/~japhy/
RPI Acacia brother #734   http://www.perlmonks.org/   http://www.cpan.org/
CPAN ID: PINYAN    [Need a programmer?  If you like my work, let me know.]
<stu> what does y/// stand for?  <tenderpuss> why, yansliterate of course.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to