cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
rob1020
Level 7
Report Inappropriate Content
Message 1 of 2

Having issue with Custom Parser

When putting regex in to an ASP rule. The custom fields are not parsing out. I receive no errors when configuring the parser and everything looks correct within the configuration. Does anyone have tips/tricks for the custom parser to work as expected? this is for proofpoint but have noticed this with other data sources as well. Thank you

1 Reply
lratcliffe
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 2 of 2

Re: Having issue with Custom Parser

If the fields are not parsing then the regex doesn't match the data or is incompatible with the regex permitted in ASP rules (re2).

Try simplifying your regular expressions and make sure you're avoiding functionality which is incompatible e.g. backreferences.

Please try testing your regex on https://regex101.com/ using the Golang option (as that uses re2) and see if it shows any syntax errors or produces your expected capture groups.

Was my reply helpful?

If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?
You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community