--- title: "Regular expression restrictions" slug: "regular-expression-restrictions-1" tags: ["Helix Enterprise", "Reference", "Sec Ops and Analytics"] updated: 2026-09-09T16:29:16Z published: 2026-09-09T16:29:16Z canonical: "docs.trellix.com/regular-expression-restrictions-1" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Regular expression restrictions TQL queries using regular expressions are restricted to a maximum of 50,000 results. If a query using regular expressions would generate more than 50,000 results, those results will not be displayed, and an error will be generated. You can use the limit directive to ensure that your results do not exceed 50,000. Note that the limit directive specifies how many items will be searched, not how many results are returned. For more information, see [Directives](/network-and-platform/docs/directives). You cannot use regular expressions to search on `rawmsg`.