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

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.

Quantum Mechanics: The dreams stuff is made of

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1211428]
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
Find Nodes?
    Voting Booth?
    My favorite kind of desktop background is:

    Results (64 votes). Check out past polls.