In: let num = /[0-9\*][0-9\/,-\*]*/
the hyphen was treated as a range, not a literal character. This erroneously allowed a whole bunch of characters (including all uppercase letters) in numeric fields. Signed-off-by: Michael Chapman <m...@very.puzzling.org> --- lenses/cron.aug | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lenses/cron.aug b/lenses/cron.aug index f5c0e21..3329145 100644 --- a/lenses/cron.aug +++ b/lenses/cron.aug @@ -43,7 +43,7 @@ let comment = Util.comment let empty = Util.empty (* Variable: num *) -let num = /[0-9\*][0-9\/,-\*]*/ +let num = /[0-9*][0-9\/,*-]*/ (* Variable: alpha *) let alpha = /[A-Za-z]{3}/ -- 1.7.6.4 _______________________________________________ augeas-devel mailing list augeas-devel@redhat.com https://www.redhat.com/mailman/listinfo/augeas-devel