Re: [pcre-dev] Typo about (?^)

Top Page

Reply to this message
Author: Philip Hazel
To: ND
CC: pcre-dev
Subject: Re: [pcre-dev] Typo about (?^)
A little bit further up from what you quoted, the docs say this: "The two
"extended" options are not independent; unsetting either
one cancels the effects of both of them." So (?-x) and (?-xx) are the
same, and unset both (?x) and (?xx).


On Sat, 19 Jun 2021 at 16:57, ND via Pcre-dev <pcre-dev@???> wrote:

> PCRE docs say:
> > If the first character following (? is a circumflex, it causes all of
> > the above options to be unset. > Thus, (?^) is equivalent to (?-imnsx).
> There is "xx" option. So may be docs have a typo?
> - "all of the above options" -> "all of the above options but xx"
> - or "(?^) is equivalent to (?-imnsx)" -> "(?^) is equivalent to
> (?-imnsxxx)"
> --
> ## List details at