Package: ripit Version: 4.0.0~beta20140508-1 Severity: normal Tags: patch Dear Maintainer,
while trying to rip an album with a name containing curly braces ("{}"), ripit stopped with an error: Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m//foo { <-- HERE bar}.\d+/ at /usr/bin/ripit line 2958, <STDIN> line 2. Instead I expected the ripping process to continue as smoothly as usual. The attached patch fixes the problem for me. Thank you for maintaining ripit. Cheers, Lars -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (500, 'testing'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 4.15.0-3-686-pae (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) LSM: AppArmor: enabled Versions of packages ripit depends on: ii cdparanoia 3.10.2+debian-13 ii ffmpeg 7:3.4.2-2 ii flac 1.3.2-1 ii lame 3.100-2 ii libcddb-get-perl 2.28-2 ii libdigest-md5-file-perl 0.08-1 ii libmime-base64-urlsafe-perl 0.01-2 ii libmp3-tag-perl 1.13-1.1 ii libmusicbrainz-discid-perl 0.04-1 ii libtext-unidecode-perl 1.30-1 ii libunicode-utf8-perl 0.60-1+b4 ii libwebservice-musicbrainz-perl 1.0.4-2 ii libwww-perl 6.33-1 ii libxml-simple-perl 2.25-1 ii normalize-audio 0.7.7-14+b1 ii perl 5.26.2-2 ii vorbis-tools 1.4.0-10.1 Versions of packages ripit recommends: ii ssmtp [mail-transport-agent] 2.64-8+b2 Versions of packages ripit suggests: ii eject 2.1.5+deb1+cvs20081104-13.2 pn id3 <none> pn id3v2 <none> -- no debconf information
--- /usr/bin/ripit.orig 2018-04-30 01:33:00.313241809 +0200 +++ /usr/bin/ripit 2018-04-30 01:33:24.493772740 +0200 @@ -9785,6 +9785,8 @@ $_[0] =~ s/\)/\\\)/g; $_[0] =~ s/\[/\\\[/g; $_[0] =~ s/\]/\\\]/g; + $_[0] =~ s/\{/\\\{/g; + $_[0] =~ s/\}/\\\}/g; $_[0] =~ s/\&/\\\&/g; $_[0] =~ s/\!/\\\!/g; $_[0] =~ s/\?/\\\?/g;