Fix token regexes unconditionally. Use identity function as default production handler. Check in automated test page