Localized $1 within the grammar parser (i.e., the method _process())
before examining whether a regular expression succeeded and if it did,
check whether it did capture some content and save it on the "regex-stack".Enhanced the diagnostic printed when faulty grammar types are encountered.
Changed a type definition from 'SCALAR' to 'REGEXP' within EN.pm.