In article <[email protected]>, Thomas Klausner <[email protected]> wrote: >On Mon, Mar 08, 2021 at 03:13:48PM +0000, Patrick Welche wrote: >> I'm assuming a WORKSFORME response for xentools413, so wondering >> whether something changed in -current sed that would explain the >> above. > >Haven't tried it yet, but perhaps this changed the sed behavior as well: > >Module Name: src >Committed By: christos >Date: Tue Feb 23 22:14:59 UTC 2021 > >Modified Files: > src/lib/libc/regex: cname.h engine.c re_format.7 regcomp.c regerror.c > regex.3 regex2.h regexec.c regfree.c utils.h >Removed Files: > src/lib/libc/regex: cclass.h > >Log Message: >sync with FreeBSD: > - NLS support > - GNU extensions > - bug fixes
Yes, we can turn on REG_GNU in regcomp in sed to support \s so that it behaves like gnused. Before it was silently ignoring the backslash. christos
