category is empty when there is a single word
change the regexp accordingly. example where the problem occurs: http://linfalcon.esrf.fr:10000/10.5072/TEST-ESRF-ES-167761
change the regexp accordingly. example where the problem occurs: http://linfalcon.esrf.fr:10000/10.5072/TEST-ESRF-ES-167761