Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

A point about the regexes that Regexp::Common doesn't supply

by TheDamian (Priest)
on Sep 17, 2003 at 18:51 UTC ( #292213=note: print w/ replies, xml ) Need Help??


in reply to Dependencies, or, How Common is Regexp::Common?

Regexp::Common was originally conceived as a framework; one that would allow the Perl community to share and reuse commonly needed (and frequently poorly implemented) regular expressions.

And, indeed, it was been successful in that sense. My original version of the module had very few regexes. Others (principally Abigail-II) have contributed most of the current set it offers.

But because Regexp::Common is contribution-driven, it's entirely possible the module doesn't have the regex you need. Or that you could improve on one of the regexes it does offer (e.g. $RE{profanity}).

In that case, I would strongly encourage you not just to roll your own, but to integrate it with Regexp::Common (I tried to make that trivial to do). Then send Abigail-II the code, so that everyone can benefit.


Comment on A point about the regexes that Regexp::Common doesn't supply
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2014-12-23 05:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (135 votes), past polls