(compile-regsexp '(seq (* (any-char))
"ubsystem-identification! \"Release\""
" '("
- (group version (+ (alt #\space (char-in numeric))))
+ (group version (+ (char-in #\space numeric)))
")")))
(define (get-core-version)
(define (make-news-pattern fullname)
(compile-regsexp `(seq ,fullname
#\space
- (group version
- (+ (alt #\. (char-in numeric))))
+ (group version (+ (char-in #\. numeric)))
" - "
(group author (+ (char-not-in #\,)))
", "
'(seq "(add-subsystem-identification!"
" \""(+ (char-not-in #\"))"\""
" '"(group version (seq "("
- (+ (alt #\space (char-in numeric)))
+ (+ (char-in #\space numeric))
")"))
")")))
(define plugin-version-pattern
(compile-regsexp '(seq (* (char-in whitespace))
#\[
- (group version (+ (alt #\. (char-in numeric))))
+ (group version (+ (char-in #\. numeric)))
#\])))
(define (plugin-version plugin)
(define (sorted-tags package-name)
(sort (let ((pattern (compile-regsexp
`(seq ,package-name #\-
- (group version
- (+ (alt #\. (char-in numeric))))
+ (group version (+ (char-in #\. numeric)))
(string-end)))))
(append-map!
(lambda (line)