help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Regex Rules


From: Felix Lechner
Subject: Re: Regex Rules
Date: Thu, 10 Nov 2022 11:49:35 -0800

Hi,

On Thu, Nov 10, 2022 at 11:39 AM Tobias Geerinckx-Rice <me@tobias.gr> wrote:
>
> ‘By default, Guile supports POSIX extended regular expressions.’ —

Yes, the word "extended" is often omitted. A good summary is here. [1]

POSIX adopted some, but not all, of the Perl Compatible Regular
Expressions (PCRE), which are more powerful but older. From the 'grep'
manual page (see the -E switch): "In basic regular expressions the
meta-characters ?, +, {, |, (, and ) lose their special meaning".

Kind regards
Felix Lechner

[1] 
https://en.wikibooks.org/wiki/Regular_Expressions/POSIX-Extended_Regular_Expressions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]