unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: David Pirotte <david@altosw.be>
To: Mark H Weaver <mhw@netris.org>
Cc: Abdulrahman Semrie <hsamireh@gmail.com>, 36251@debbugs.gnu.org
Subject: bug#36251: Regex library doesn't recognize ']' in a character class
Date: Fri, 28 Jun 2019 08:21:08 -0300	[thread overview]
Message-ID: <20190628082108.64832ccf@capac> (raw)
In-Reply-To: <87r27rywum.fsf@netris.org>

[-- Attachment #1: Type: text/plain, Size: 796 bytes --]

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

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

      parent reply	other threads:[~2019-06-28 11:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-16 17:16 bug#36251: Regex library doesn't recognize ']' in a character class Abdulrahman Semrie
2019-06-16 19:40 ` tomas
2019-06-18 11:08 ` Mark H Weaver
2019-06-18 11:20   ` tomas
2019-06-28 11:21   ` David Pirotte [this message]

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://www.gnu.org/software/guile/

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

  git send-email \
    --in-reply-to=20190628082108.64832ccf@capac \
    --to=david@altosw.be \
    --cc=36251@debbugs.gnu.org \
    --cc=hsamireh@gmail.com \
    --cc=mhw@netris.org \
    /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).