Currently the Regex identify-assertion supports 'lookup' feature. When the output matches any of the strings in the 'lookup' dictionary, it'll replace the string with the new value. If there's no match, it'll replace the original string with empty string.
email@example.com will be translated to /user/member_USA
firstname.lastname@example.org will be translated to /user/member_CANADA
email@example.com will be translated to /user/member_
This patch adds an optional field use.original.on.lookup.failure. If sets to true(defaults to false), it'll preserve the original string if there's no match. So after this patch,
firstname.lastname@example.org will be translated to /user/member_uk