Skip to content

Commit d775f3c

Browse files
committed
Add a short example for UNIX timestamp extraction
1 parent 8238cef commit d775f3c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,12 @@ Features
6464
(?P<second>\d{2})?
6565
)?
6666

67+
If your files are for example suffixed with UNIX timestamps, you can specify a
68+
regular expression exposing a named capture group ``unixtime`` like this::
69+
70+
# Use UNIX timestamps
71+
(?P<unixtime>\d+)
72+
6773
**All actions are logged**
6874
Log messages are saved to the system log (e.g. ``/var/log/syslog``) so you
6975
can retrace what happened when something seems to have gone wrong.

0 commit comments

Comments
 (0)