lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Matching backslash in Scheme string (escaping characters for LaTeX)


From: David Nalesnik
Subject: Re: Matching backslash in Scheme string (escaping characters for LaTeX)
Date: Wed, 21 Jan 2015 12:04:49 -0600



On Wed, Jan 21, 2015 at 1:43 AM, Urs Liska <address@hidden> wrote:

Am 21.01.2015 um 08:41 schrieb Johan Vromans:
On Wed, 21 Jan 2015 08:31:53 +0100
Urs Liska <address@hidden> wrote:

So what's the way to match a backslash in a LilyPond string?
My guess is four backslashes.

To match a backslash you need \\ in the pattern.
Each of these need to be escaped in the string, so it becomes \\\\ .

-- Johan

Thank you very much. That works perfectly.

Urs


Just for reference: this is discussed at http://www.gnu.org/software/guile/docs/docs-1.8/guile-ref/Backslash-Escapes.html#Backslash-Escapes

--DavidĀ 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]