github的一些开源项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
929 B

  1. .TH PCRE2_SET_MAX_PATTERN_COMPILED_LENGTH 3 "24 April 2024" "PCRE2 10.44"
  2. .SH NAME
  3. PCRE2 - Perl-compatible regular expressions (revised API)
  4. .SH SYNOPSIS
  5. .rs
  6. .sp
  7. .B #include <pcre2.h>
  8. .PP
  9. .nf
  10. .B int pcre2_set_max_pattern_compiled_length(
  11. .B " pcre2_compile_context *\fIccontext\fP, PCRE2_SIZE \fIvalue\fP);"
  12. .fi
  13. .
  14. .SH DESCRIPTION
  15. .rs
  16. .sp
  17. This function sets, in a compile context, the maximum size (in bytes) for the
  18. memory needed to hold the compiled version of a pattern that is compiled with
  19. this context. The result is always zero. If a pattern that is passed to
  20. \fBpcre2_compile()\fP with this context needs more memory, an error is
  21. generated. The default is the largest number that a PCRE2_SIZE variable can
  22. hold, which is effectively unlimited.
  23. .P
  24. There is a complete description of the PCRE2 native API in the
  25. .\" HREF
  26. \fBpcre2api\fP
  27. .\"
  28. page and a description of the POSIX API in the
  29. .\" HREF
  30. \fBpcre2posix\fP
  31. .\"
  32. page.