There's more than one way to do things | |
PerlMonks |
Re^2: Allowing regex entries in web form to search database: Risks or gotchas?by Polyglot (Chaplain) |
on Aug 09, 2022 at 01:41 UTC ( [id://11146053]=note: print w/replies, xml ) | Need Help?? |
A few things jumped out at me in looking at the CPAN page you linked.
Seeing as the syntactical changes are unnecessary, I would prefer to stick with a pure PCRE. Why use commas in place of pipes and question marks in place of periods when the functionality for these remains exactly the same? And what happened to the zero-or-one match capability provided by the question mark? What replaces that? Back to doing it my own way...TMTOWTDI doesn't mean I will like every other way of doing it. Blessings, ~Polyglot~
In Section
Seekers of Perl Wisdom
|
|