What type of regular expressions are used in Data Patterns?

L1 Bithead

What type of regular expressions are used in Data Patterns?

Hi everyone,

Im curious to find out what type of regular expressions are used in the data pattern portion of the Palo Alto? One discuission mentioned that it was perl based but some things do not work. Can anyone point me in the right direction?

Thank you,

Eugene Milon

L7 Applicator

Re: What type of regular expressions are used in Data Patterns?

Login to your firewall GUI, go to the Help section and search for "Other Policy Objects".  Scroll about 1/2 way down the page and look for Data Patterns. 

Capture.PNG

L7 Applicator

Re: What type of regular expressions are used in Data Patterns?

Regex Syntax with Examples  ( Page No 37) Creating Custom Threat Signatures

regex.jpg

Thanks

L1 Bithead

Re: What type of regular expressions are used in Data Patterns?

Thank you both but I've already seen those pages. I guess what I am just trying to figure out that if a client wants to filter for account numbers is it possible to use \d or repetition {6,11} for numbers at all , for instance any number 0-9 repeating from 6 to 11 times? If not then would I be correct in saying that I have to create many [0-9][0-9] 's.

L7 Applicator

Re: What type of regular expressions are used in Data Patterns?

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!