Status: Accepted
Owner: ----
Labels: Type-Defect Priority-High
New issue 1674 by [email protected]: String-match unbound function
unavailable in lilypond
http://code.google.com/p/lilypond/issues/detail?id=1674
Requested by Piers Titus:
% The function string-match is not available, while it is in GUILE.
% Lilypond gives error: Unbound variable: string-match
% This bug has been noticed before, see
http://lilypond-s-support-for-tablatures.3383434.n2.nabble.com/slides-td3533701i20.html
% (this is just a test file, which doesn't have a meaning if there was no
error,
the real problem is redefining the /clef command with code copied from
scm/parser-clef.scm)
\version "2.12.3"
clef = #(define-music-function (parser location clef-name) (string?)
(string-match "^(.*)([_^])([1-9][0-9]*)$" clef-name))
\relative c'' {
\clef "treble_8"
c
}
_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond