Check validation regex on section saving. Fixes #1416