Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add readmeHEADmaster | Harald Eilertsen | 2018-12-18 | 1 | -0/+27 |
| | |||||
* | Make regex matches case insensitive. | Harald Eilertsen | 2018-12-18 | 1 | -2/+11 |
| | |||||
* | Use regex for matching values. | Harald Eilertsen | 2018-12-18 | 3 | -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 Eilertsen | 2018-12-18 | 1 | -1/+1 |
| | |||||
* | Fix clippy issues. | Harald Eilertsen | 2018-12-18 | 1 | -6/+6 |
| | |||||
* | Take filename and pattern from command line and output matching events. | Harald Eilertsen | 2018-12-18 | 1 | -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 Eilertsen | 2018-12-18 | 1 | -8/+19 |
| | |||||
* | Match events by simple pattern on given key. | Harald Eilertsen | 2018-12-18 | 1 | -2/+20 |
| | |||||
* | Add minimal function to match all events. | Harald Eilertsen | 2018-12-18 | 2 | -0/+63 |
| | |||||
* | Move reading of calendar file to function. | Harald Eilertsen | 2018-12-18 | 1 | -4/+8 |
| | |||||
* | Move printing of event to a function. | Harald Eilertsen | 2018-12-18 | 1 | -22/+21 |
| | | | | This also removes the need for the local Event struct. | ||||
* | Parse date/time into proper objects. | Harald Eilertsen | 2018-12-17 | 1 | -5/+25 |
| | |||||
* | Initial commit. | Harald Eilertsen | 2018-12-17 | 5 | -0/+882 |
Just print the event found with start time, end time and summary. It's a start of some sort. |