• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

lib/Regexp/Common/H28-Feb-2018-1,424632

t/H28-Feb-2018-3,8953,573

ChangesH A D28-Feb-20181.6 KiB6043

MANIFESTH A D28-Feb-2018410 2322

MANIFEST.SKIPH A D06-Mar-2017228 2221

META.jsonH A D28-Feb-20181.3 KiB5857

META.ymlH A D28-Feb-2018762 3231

Makefile.PLH A D28-Feb-20181.1 KiB3533

READMEH A D28-Jun-20171.7 KiB6643

README

1Regexp::Common::time v0.09
2==========================
3
4This is a Regexp::Common plugin that provides regular expressions for
5parsing dates and times.  It can handle most date formats, such as:
6
7      y/m/d               m/d/y               d/m/y
8    2005/04/02          4/2/2005            2/4/05
9    05.04.02            04.02.05            02.04.2005
10    2005 April 2        April 2, 2005       2 APR 05
11    05APRIL02           APR022005           02 April 2005
12    20050402            040205              02042005
13
14      ISO 8601            RFC 2822
15  2008-05-24T21:46:01   25 May 2008 21:46:01 +0500
16
17
18It can also handle time formats like:
19
20    9:03:27pm
21    21:03:27
22    9:03 p.m.
23    21:03
24    9:03a
25
26Furthermore, you can easily piece together time and date component
27patterns (in the style of Time::Format or POSIX's strftime) to build
28arbitrarily complex custom regexes that can parse just about any time
29or date pattern imaginable.
30
31
32INSTALLATION
33
34To install this module type the following:
35
36   perl Makefile.PL
37   make
38   make test
39   make install
40
41On Windows, you will need to use nmake instead of make.
42
43
44DEPENDENCIES
45
46This module requires this other modules and libraries:
47
48  Regexp::Common
49  POSIX (optional)
50  I18N::Langinfo (optional, but needed for internationalization)
51
52Also, Time::Normalize is likely to be useful to you.
53
54
55COPYRIGHT AND LICENSE
56
57Eric J. Roode, roode @ cpan . org
58
59Copyright (c) 2005-2008 by Eric J. Roode. All Rights Reserved.
60This module is free software; See the copyright notice in the
61module source code for full details.
62
63To avoid my spam filter, please include "Perl", "module", or this
64module's name in the message's subject line, and/or GPG-sign your
65message.
66