Submitted by g.carabetta on Thu, 04/21/2016 - 04:28 Pro Licensee
I was accessing filesystem via filemin, and trying to access a folder I got an error: Error - Perl execution failed: Unmatched ) in regex
I think it is because in the folder there are some files with a single closed parentesis in their names.
Status:
Closed (fixed)
Comments
Submitted by andreychek on Thu, 04/21/2016 - 08:48 Comment #1
Ah yes, that could indeed explain the issue.
Just for testing purposes though, are you able to run this command on the command line to show us the names of all the files in there:
ls /path/to/directory/that/crashes/filemin
Submitted by JamieCameron on Thu, 04/21/2016 - 20:40 Comment #2
Ok, I see the bug that causes this - it will be fixed in the next Webmin release.
Submitted by JamieCameron on Thu, 04/21/2016 - 20:41 Comment #3
Submitted by g.carabetta on Fri, 04/29/2016 - 03:40 Pro Licensee Comment #4
That folder have a long list of files, I grep'ped out the big, to isolate the interesting:
[root@vsp01 reserved]# ls | grep \) | grep -v \( | head
20100617171234_2009)672_it - blablabla.pdf
20110525123944_1) blablabla.pdf
20110525124050_2) BLA bla_BLA_BL_REV0.pdf
20110525124659_3) bla 1 ERROR MANAGEMENT.pdf
20110606142313_4) blabla - bla 2011.pdf
20110609114101_a) bla bla blablabla.pdf
20110628115227_02 pag. 22 bla bla 8) BLA.pdf
[root@vsp01 reserved]#
I didn't any test with file with both patenthesis: in the same folder we have also:
[root@vsp01 reserved]# ls | grep \(.*\) | head
2010061095319_Bla BLA Blabla (Bla. Blabla) 10_06_10.pdf
20101007123226_02 BLA. 36 Blabla BLA - Bl blabla bla blablabla bl bla (Sent).pdf
20101011111903_01 pag. 212 210910_Blablabla Bla_(Blabla) .pdf
20101011111905_01 pag. 212 210910_Blablabla Bla_(Blabla) .pdf
20101011111907_01 pag. 212 210910_Blablabla Bla_(Blabla) .pdf
20101011112004_02 pag. 184 220910_Blablablablabla Bla_(Blabla) .pdf
20101011112051_03 pag. 132 230910_Blabla Bla_(Blabla).pdf
[root@vsp01 reserved]#
Thanks!
Submitted by JamieCameron on Sat, 04/30/2016 - 13:57 Comment #5
This is an escaping issue triggered by filenames with ( ) in them - it will be fixed in the next Webmin release.