mirror of
https://github.com/InsanusMokrassar/krontab.git
synced 2025-01-12 02:40:02 +00:00
fix parser
This commit is contained in:
parent
08ef7281e5
commit
409ca3770f
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
## 2.7.1
|
## 2.7.1
|
||||||
|
|
||||||
|
* Fixes in parser and checker
|
||||||
|
|
||||||
## 2.7.0
|
## 2.7.0
|
||||||
|
|
||||||
* `Version`:
|
* `Version`:
|
||||||
|
@ -43,7 +43,9 @@ private fun <T> createSimpleScheduler(from: String, dataRange: IntRange, dataCon
|
|||||||
* 1.
|
* 1.
|
||||||
* * "\\d" -> 2
|
* * "\\d" -> 2
|
||||||
* * "\\*" -> 4
|
* * "\\*" -> 4
|
||||||
|
* * "F" -> 7
|
||||||
* * "f" -> 7
|
* * "f" -> 7
|
||||||
|
* * "L" -> 7
|
||||||
* * "l" -> 7
|
* * "l" -> 7
|
||||||
* * "/" -> 6
|
* * "/" -> 6
|
||||||
* 2.
|
* 2.
|
||||||
@ -55,6 +57,7 @@ private fun <T> createSimpleScheduler(from: String, dataRange: IntRange, dataCon
|
|||||||
* * "o" -> 10
|
* * "o" -> 10
|
||||||
* * "w" -> 10
|
* * "w" -> 10
|
||||||
* 3.
|
* 3.
|
||||||
|
* * "L" -> 7
|
||||||
* * "l" -> 7
|
* * "l" -> 7
|
||||||
* * "\\d" -> 8
|
* * "\\d" -> 8
|
||||||
* 4.
|
* 4.
|
||||||
@ -78,7 +81,9 @@ private val checkIncomingPartTransitionsMap = listOf(
|
|||||||
listOf( // 0
|
listOf( // 0
|
||||||
Regex("\\d") to 1,
|
Regex("\\d") to 1,
|
||||||
Regex("\\*") to 3,
|
Regex("\\*") to 3,
|
||||||
|
Regex("F") to 6,
|
||||||
Regex("f") to 6,
|
Regex("f") to 6,
|
||||||
|
Regex("L") to 6,
|
||||||
Regex("l") to 6,
|
Regex("l") to 6,
|
||||||
Regex("/") to 5,
|
Regex("/") to 5,
|
||||||
),
|
),
|
||||||
@ -92,6 +97,7 @@ private val checkIncomingPartTransitionsMap = listOf(
|
|||||||
Regex("w") to 9,
|
Regex("w") to 9,
|
||||||
),
|
),
|
||||||
listOf( // 2
|
listOf( // 2
|
||||||
|
Regex("L") to 6,
|
||||||
Regex("l") to 6,
|
Regex("l") to 6,
|
||||||
Regex("\\d") to 7,
|
Regex("\\d") to 7,
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user