GNU bug report logs - #36251
Regex library doesn't recognize ']' in a character class

Previous Next

Package: guile;

Reported by: Abdulrahman Semrie <hsamireh <at> gmail.com>

Date: Sun, 16 Jun 2019 18:32:01 UTC

Severity: normal

Tags: notabug

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 36251 <at> debbugs.gnu.org (full text, mbox):

From: David Pirotte <david <at> altosw.be>
To: Mark H Weaver <mhw <at> netris.org>
Cc: Abdulrahman Semrie <hsamireh <at> gmail.com>, 36251 <at> debbugs.gnu.org
Subject: Re: bug#36251: Regex library doesn't recognize ']' in a character
 class
Date: Fri, 28 Jun 2019 08:21:08 -0300
[Message part 1 (text/plain, inline)]
Hello,

> ...
> It turns out that there are several flavors of regular expressions in
> common use, with different features and syntax.  The link you provided
> is using PCRE (PHP) regular expressions (see the "flavor" pane on the
> left), and there are three other supported flavors on that web site.
> ...

Fwiw, I just came across a pcre binding for guile(*), here:

	https://github.com/NalaGinrut/guile-pcre-ffi

I didn't try it and I have no idea about the general quality and robustness of the
binding, last updated 4y ago it seems, but the code is really small, uses the ffi,
so it should be quite easy to patch if necessary and may be fun to 'resurrect' ...

David

(*)	I found it while looking for something else, here:

		http://sph.mn/foreign/guile-software.html
[Message part 2 (application/pgp-signature, inline)]

This bug report was last modified 6 years and 14 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.