aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add readmeHEADmasterHarald Eilertsen2018-12-181-0/+27
|
* Make regex matches case insensitive.Harald Eilertsen2018-12-181-2/+11
|
* Use regex for matching values.Harald Eilertsen2018-12-183-2/+88
| | | | | | Decided on the regex crate to begin with. An alternative with a more complete regex implementation is the onig crate. If we find we need more powerful regexes, we may switch to that later.
* Use unwrap_or_default instead of explicitly creating empty string.Harald Eilertsen2018-12-181-1/+1
|
* Fix clippy issues.Harald Eilertsen2018-12-181-6/+6
|
* Take filename and pattern from command line and output matching events.Harald Eilertsen2018-12-181-2/+5
| | | | | | Extremely primitive command line handling for now. Pass first arg as filename, second as pattern. Both must be present. Pass "*" as pattern to match all events in the input file.
* Move common test code into function.Harald Eilertsen2018-12-181-8/+19
|
* Match events by simple pattern on given key.Harald Eilertsen2018-12-181-2/+20
|
* Add minimal function to match all events.Harald Eilertsen2018-12-182-0/+63
|
* Move reading of calendar file to function.Harald Eilertsen2018-12-181-4/+8
|
* Move printing of event to a function.Harald Eilertsen2018-12-181-22/+21
| | | | This also removes the need for the local Event struct.
* Parse date/time into proper objects.Harald Eilertsen2018-12-171-5/+25
|
* Initial commit.Harald Eilertsen2018-12-175-0/+882
Just print the event found with start time, end time and summary. It's a start of some sort.