updated for version 7.4.519
Problem:    Crash when using syntax highlighting.
Solution:   When regprog is freed and replaced, store the result.
Added tag v7-4-519 for changeset 27a36d1013a6