lilypond-user
[Top][All Lists]
Advanced

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

Re: Multiple replacements in one regular expression?


From: Johan Vromans
Subject: Re: Multiple replacements in one regular expression?
Date: Wed, 21 Jan 2015 19:14:42 +0100

On Wed, 21 Jan 2015 15:13:48 +0100
Urs Liska <address@hidden> wrote:

>         (regexp-substitute/global #f escape-regexp str
>           'pre (lambda (m)
>                  (assoc-ref escape-pairs (match:substring m)))
>           'post))

Exactly what I had in mind, great that it worked out well!

-- Johan



reply via email to

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