devel/p5-Date-Extract 0.07p0 OpenBSD
extract probable dates from strings
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- The OpenBSD ports mailing-list <[email protected]>
- Categories
- devel, perl5
Description
Date::Extract takes an arbitrary block of text, searches it for something that looks like a date string, and builds a DateTime object out of it. By design it will produce few false positives. This means it will not catch nearly everything that looks like a date string. So if you have the string "do homework for class 2019" it won't return a DateTime object with the year set to 2019.
In the other systems
| System | Port | Version |
|---|---|---|
| OpenBSD | devel/p5-Date-Extract | 0.07p0 |
| FreeBSD | devel/p5-Date-Extract | 0.07 |
| NetBSD | time/p5-Date-Extract | 0.07nb4 |
| DragonFly | devel/p5-Date-Extract | 0.07 |
| HardenedBSD | devel/p5-Date-Extract | 0.07 |
| GhostBSD | devel/p5-Date-Extract | 0.07 |
Install
Binary package:
pkg_add p5-Date-Extract
From the ports tree:
cd /usr/ports/devel/p5-Date-Extract && make install