Re: [SOLVED][OT] help understanding a PCRE expression (CORRECTION)

2025-02-21 Thread Mike Wright
    '(?<= )\w+' <--- actual expression For completeness and for anybody else who wondered what that does: it is looking for words preceded by a space -- ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to use

[SOLVED][OT] help understanding a PCRE expression (CORRECTION)

2025-02-21 Thread Mike Wright
On 2/21/25 09:39, Markus Schönhaber wrote: 21.02.25, 18:12 +0100, Mike Wright: Reading an article about a fedora kernel vulnerability regression and found this PCRE expression '(<= )\w+' <--- mistake '(?<= )\w+' <--- actual expression I got the "one or more words" part but what is t

[OT] help understanding a PCRE expression

2025-02-21 Thread Mike Wright
Hey everybody, Reading an article about a fedora kernel vulnerability regression and found this PCRE expression '(<= )\w+' I got the "one or more words" part but what is the meaning of the part inside the parens? Thanks -- ___ users mailing lis

Re: [OT] help understanding a PCRE expression (CORRECTION)

2025-02-21 Thread Will McDonald
On Fri, 21 Feb 2025 at 17:13, Mike Wright wrote: > > Reading an article about a fedora kernel vulnerability regression and > found this PCRE expression >'(?<= )\w+' <--- actual expression > > I got the "one or more words" part but what is the meaning of the part > inside the parens? Adding

Re: [OT] help understanding a PCRE expression (CORRECTION)

2025-02-21 Thread Markus Schönhaber
21.02.25, 18:12 +0100, Mike Wright: > Reading an article about a fedora kernel vulnerability regression and > found this PCRE expression > >'(<= )\w+' <--- mistake > >'(?<= )\w+' <--- actual expression > > I got the "one or more words" part but what is the meaning of the part > insid

Re: [OT] help understanding a PCRE expression (CORRECTION)

2025-02-21 Thread Barry
> On 21 Feb 2025, at 17:13, Mike Wright wrote: > > I got the "one or more words" part but what is the meaning of the part inside > the parens? Do a web search for “ pcre re format” and it will take you here https://www.pcre.org/original/doc/html/pcresyntax.html that explains all the syntax.

[OT] help understanding a PCRE expression (CORRECTION)

2025-02-21 Thread Mike Wright
Hey everybody, Reading an article about a fedora kernel vulnerability regression and found this PCRE expression '(<= )\w+' <--- mistake '(?<= )\w+' <--- actual expression I got the "one or more words" part but what is the meaning of the part inside the parens? Thanks -- _