Terms facet can have a script, without field or fields.  Regex requires either field or fields
Merge pull request #291 from chrisguiney/bugfix/terms-facet-script

Terms facet can have a script, without field or fields.  Regex requires ...