XSS cloudflare

Hey everyone, I was wondering. based on what does Cloud Flare determine if a request is XSS? I'm guessing Regex?
Was this page helpful?