Regex fixes, match saving rules relaxed, updated documentation.