Re: [NTB] NTB/RegEx FormFeed Bug
- Sorry, meant \x85, not \85.
Sent from my Nook Color device
Sheri <silvermoonwoman@...> wrote:
>You could use (*BSR_UNICODE) at the start of your pattern to invoke the alternative setting. Can be slightly problematic since \85 is an ellipsis in Windows ANSI for most or all Western languages, but the rest of the Unicode line ends are ok even in non-UTF-8 mode.
>Sent from my Nook Color device
- --- In email@example.com, "John Shotsky" <jshotsky@...> wrote:
>--- corrigendum ---
> According to the PCRE help, there is a compile switch that
> forces only CR and LF to be recognized in the \R sequence.
> There is a command to override that switch, but I don't
> know how to use it.
Here is a small test:
^!Find "(*BSR_UNICODE)Mary\R" RS
You will see NT matching 'Mary' plus FF now.
If (*BSR_ANYCRLF) is active, the alternatives for matching FF are.