pcre2_set_character_tables.3 912 B

1234567891011121314151617181920212223242526272829303132333435
  1. .TH PCRE2_SET_CHARACTER_TABLES 3 "20 March 2020" "PCRE2 10.35"
  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_character_tables(pcre2_compile_context *\fIccontext\fP,
  11. .B " const uint8_t *\fItables\fP);"
  12. .fi
  13. .
  14. .SH DESCRIPTION
  15. .rs
  16. .sp
  17. This function sets a pointer to custom character tables within a compile
  18. context. The second argument must point to a set of PCRE2 character tables or
  19. be NULL to request the default tables. The result is always zero. Character
  20. tables can be created by calling \fBpcre2_maketables()\fP or by running the
  21. \fBpcre2_dftables\fP maintenance command in binary mode (see the
  22. .\" HREF
  23. \fBpcre2build\fP
  24. .\"
  25. documentation).
  26. .P
  27. There is a complete description of the PCRE2 native API in the
  28. .\" HREF
  29. \fBpcre2api\fP
  30. .\"
  31. page and a description of the POSIX API in the
  32. .\" HREF
  33. \fBpcre2posix\fP
  34. .\"
  35. page.