VAR_SUB_GLOBAL
pattern->flags |= VAR_SUB_GLOBAL;
if (wordLen == 0 || (pattern->flags & VAR_SUB_GLOBAL) == 0)
if (pat->flags & VAR_SUB_GLOBAL) {