1PCRE2_SET_BSR(3)           Library Functions Manual           PCRE2_SET_BSR(3)
2
3
4

NAME

6       PCRE2 - Perl-compatible regular expressions (revised API)
7

SYNOPSIS

9
10       #include <pcre2.h>
11
12       int pcre2_set_bsr(pcre2_compile_context *ccontext,
13         uint32_t value);
14

DESCRIPTION

16
17       This  function  sets  the convention for processing \R within a compile
18       context.  The second argument  must  be  one  of  PCRE2_BSR_ANYCRLF  or
19       PCRE2_BSR_UNICODE.  The  result is zero for success or PCRE2_ERROR_BAD‐
20       DATA if the second argument is invalid.
21
22       There is a complete description of the PCRE2 native API in the pcre2api
23       page and a description of the POSIX API in the pcre2posix page.
24
25
26
27PCRE2 10.00                     22 October 2014               PCRE2_SET_BSR(3)
Impressum