Standard regexps module?

Discussion in 'Perl Misc' started by bill, Feb 15, 2005.

  1. bill

    bill Guest

    After searching CPAN for a while, I was not able to find a Perl
    module consisting of "standard" regular expressions (e.g. the
    "standard" regular expression to match an internet IP address, or
    a "number", or a "Perl identifier", etc.). I realize that in some
    cases it is pretty easy to come up with the regexp oneself, but
    this kind of code seems like a trivially good candidate for re-use.

    Pointers to the right CPAN module would be much appreciated.

    Thanks,

    bill
     
    bill, Feb 15, 2005
    #1
    1. Advertising

  2. bill wrote:
    > After searching CPAN for a while, I was not able to find a Perl
    > module consisting of "standard" regular expressions (e.g. the
    > "standard" regular expression to match an internet IP address, or
    > a "number", or a "Perl identifier", etc.). I realize that in some
    > cases it is pretty easy to come up with the regexp oneself, but
    > this kind of code seems like a trivially good candidate for re-use.
    >
    > Pointers to the right CPAN module would be much appreciated.


    You seem to looking for Regexp::Common.

    --
    Gunnar Hjalmarsson
    Email: http://www.gunnar.cc/cgi-bin/contact.pl
     
    Gunnar Hjalmarsson, Feb 15, 2005
    #2
    1. Advertising

  3. bill

    bill Guest

    In <> Gunnar Hjalmarsson <> writes:

    >bill wrote:
    >> After searching CPAN for a while, I was not able to find a Perl
    >> module consisting of "standard" regular expressions (e.g. the
    >> "standard" regular expression to match an internet IP address, or
    >> a "number", or a "Perl identifier", etc.). I realize that in some
    >> cases it is pretty easy to come up with the regexp oneself, but
    >> this kind of code seems like a trivially good candidate for re-use.
    >>
    >> Pointers to the right CPAN module would be much appreciated.


    >You seem to looking for Regexp::Common.


    Yep. That'd be the one! Thanks!

    bill
     
    bill, Feb 15, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Fredrik Ramsberg

    Optimisation of regexps in Perl?

    Fredrik Ramsberg, Oct 14, 2003, in forum: Perl
    Replies:
    2
    Views:
    488
    Fredrik Ramsberg
    Oct 15, 2003
  2. Replies:
    4
    Views:
    587
  3. Spartanicus

    Help with Regexps wanted

    Spartanicus, Oct 21, 2004, in forum: HTML
    Replies:
    4
    Views:
    477
    William Park
    Oct 25, 2004
  4. Klaus Alexander Seistrup

    Expanding regexps

    Klaus Alexander Seistrup, Oct 28, 2003, in forum: Python
    Replies:
    5
    Views:
    398
    Klaus Alexander Seistrup
    Oct 29, 2003
  5. Stéphane Klein
    Replies:
    0
    Views:
    304
    Stéphane Klein
    Jul 5, 2011
Loading...

Share This Page