RegexpBuilder: don't fail if  the list of words is empty