reg exp, escape char

15 views
Skip to first unread message

Minoru

unread,
Jun 19, 2026, 12:43:22 AM (11 days ago) Jun 19
to Extempore
Hi Ben,

Some of my sampler instrumens didn't work in ver 0.9.4 ...
I have found one point in regular expression, so they work again now, fuuuuu !
It seems like that 0.9.4 is more accurate than 0.8.9 in this case, two.


;;ok in 0.8.9, BUT error in 0.9.4
(regex:matched "A4.wav" "^.*([ABCDEFG][#b]?[0-9]+).*\.(wav|aif|aiff|ogg)$")

;; two back slashes as an escape character

;;ok in 0.8.9, 0.9.4
(regex:matched "A4.wav" "^.*([ABCDEFG][#b]?[0-9]+).*\\.(wav|aif|aiff|ogg)$")

Reply all
Reply to author
Forward
0 new messages