Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Idiomatic Perl?

by QM (Parson)
on Mar 21, 2018 at 14:51 UTC ( #1211428=note: print w/replies, xml ) Need Help??


in reply to Idiomatic Perl?

If you're just learning, or have complete trust over what goes into the regex, skip the rest of this.

However, someone should mention that taking regex input from users is fraught with security issues. If you don't have complete trust over what's read into the regex, you should consider something like re::engine::RE2, which limits some constructs and mitigates denial-of-service.

I have only touched the tip of the iceberg; you should search for "perl regex security" and similar to be more bullet-proof-resistant.

-QM
--
Quantum Mechanics: The dreams stuff is made of

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2021-03-02 21:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favorite kind of desktop background is:











    Results (64 votes). Check out past polls.

    Notices?