I have a processing rule with a pattern that matches email addresses. I only want to hash the username part of the address since I need to retain the domain part, so I encapsulated the part of the regex including and after the @ to be a zero-width positive lookahead i.e. /username(?=@domain)/. Unfortunately, this results in the entire email address getting hashed instead of just the username. Do the processing rules not support this for performance reasons or is this just an oversight?
Please sign in to leave a comment.