Processing rule pattern doesn't seem to respect lookahead

Comments

2 comments

  • Avatar
    Kevin Sumo

    Hi Lance,

    Lookaheads should work within the processing rules. The below expression.

    (username(?=@domain))

    With a mask string of xxxx, should change username@domain to  xxxx@domain. I tried this out within an account and it appeared to mask the username. 


    0
    Comment actions Permalink
  • Avatar
    Brad Bow

    Hi, I can't get a rule with a negative lookahead (?!) to work, I get an error about restricted patterns when trying to save the following regex as an include processing rule:

    .*\"\$name\"\s*\:\s*\"(?!ftr-audit\/RecordHlsSegmentAccess).*

    If I remove the ?!, the rule saves successfully.

    0
    Comment actions Permalink

Please sign in to leave a comment.