From: Christopher Rodriguez <yewscion@gmail.com>
To: help-guix@gnu.org, julien@lepiller.eu, jgart@dismail.de
Subject: Re: Regex Rules
Date: Thu, 10 Nov 2022 22:54:44 -0500 [thread overview]
Message-ID: <87wn82ta2x.fsf@gmail.com> (raw)
In-Reply-To: <mailman.75.1668099675.32456.help-guix@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 857 bytes --]
>> Where can I find all the regex rules for this style of regex?
> \\ is for inputing a single \ (it needs to be etcaped in guile
> strings). Then, the rest is a Guile regexp, wgicg you can liarn about
> at
> https://www.gnu.org/software/guile/manual/html_node/Regular-Expressions.html.
>
> The manual says it's POSIX regexp, whatever that means :)
My $0.02:
When I dove into it a while ago, I was able to make progress once I
realized Regexps in Guile conform to POSIX Extended Regular Expressions
[1], with the added caveat of having to escape them as strings [2].
[1]: https://www.regular-expressions.info/posix.html
[2]: https://www.gnu.org/software/guile/manual/html_node/String-Syntax.html
--
Christopher Rodriguez
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
next parent reply other threads:[~2022-11-11 15:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.75.1668099675.32456.help-guix@gnu.org>
2022-11-11 3:54 ` Christopher Rodriguez [this message]
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
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=87wn82ta2x.fsf@gmail.com \
--to=yewscion@gmail.com \
--cc=help-guix@gnu.org \
--cc=jgart@dismail.de \
--cc=julien@lepiller.eu \
/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).