unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Felix Lechner via <help-guix@gnu.org>
To: Tobias Geerinckx-Rice <me@tobias.gr>
Cc: jgart <jgart@dismail.de>, Julien Lepiller <julien@lepiller.eu>,
	help-guix@gnu.org
Subject: Re: Regex Rules
Date: Thu, 10 Nov 2022 11:49:35 -0800	[thread overview]
Message-ID: <CAFHYt57w8EP1BO2JSA4E2jw-MK9vJ9c4GqnC6zB4kYX9nGvieg@mail.gmail.com> (raw)
In-Reply-To: <87eduappir.fsf@nckx>

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	other threads:[~2022-11-10 19:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-10  2:04 Regex Rules jgart
2022-11-10  6:37 ` Julien Lepiller
2022-11-10 19:19   ` jgart
2022-11-10 19:33     ` Tobias Geerinckx-Rice
2022-11-10 19:49       ` Felix Lechner via [this message]
     [not found] <mailman.75.1668099675.32456.help-guix@gnu.org>
2022-11-11  3:54 ` Christopher Rodriguez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAFHYt57w8EP1BO2JSA4E2jw-MK9vJ9c4GqnC6zB4kYX9nGvieg@mail.gmail.com \
    --to=help-guix@gnu.org \
    --cc=felix.lechner@lease-up.com \
    --cc=jgart@dismail.de \
    --cc=julien@lepiller.eu \
    --cc=me@tobias.gr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).