Re: Regex Rules

2022-11-11 Thread Christopher Rodriguez
>> 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-Express

Re: Regex Rules

2022-11-10 Thread Felix Lechner via
Hi, On Thu, Nov 10, 2022 at 11:39 AM Tobias Geerinckx-Rice 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), whi

Re: Regex Rules

2022-11-10 Thread Tobias Geerinckx-Rice
I recommend starting with the regex(7) man page, before comparing any implementation to another. But, iirc vis regex are different from Guile's I might be wrong on that. ‘By default, Guile supports POSIX extended regular expressions.’ — (guile)Regexp Functions ‘[vis] uses what POSIX refers

Re: Regex Rules

2022-11-10 Thread jgart
On Thu, 10 Nov 2022 07:37:00 +0100 Julien Lepiller wrote: > \\ 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 sa

Re: Regex Rules

2022-11-09 Thread Julien Lepiller
22 03:04:12 GMT+01:00, jgart a écrit : >Hi, > >Where can I find all the regex rules for this style of regex? > >"\\$\\{PG_SHAREDIR\\}/extension" > >That's a snippet I took at random from guix/ > >all best, > >jgart > >

Regex Rules

2022-11-09 Thread jgart
Hi, Where can I find all the regex rules for this style of regex? "\\$\\{PG_SHAREDIR\\}/extension" That's a snippet I took at random from guix/ all best, jgart