GNU bug report logs - #1402
suggestion: add 'symbol to regexp-opt's second parameter

Previous Next

Package: emacs;

Reported by: xah lee <xah <at> xahlee.org>

Date: Fri, 21 Nov 2008 20:20:02 UTC

Severity: wishlist

Tags: wontfix

Merged with 4392

Fixed in version 24.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at control <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Devon Sean McCullough <emacs-hacker <at> Jovi.Net>
Cc: 4392 <at> debbugs.gnu.org
Subject: Re: bug#4392: (Regexp Functions): The PAREN argument to `regexp-opt' can be `symbols'.
Date: Fri, 11 Sep 2009 15:17:27 -0400
tag 4392 +wontfix
thanks


> Please patch REGEXP-OPT to take a PAREN 'symbols argument.

As the person responsible for adding the `words' value to PAREN, I'm
going to reject this request.  I think the `words' value was itself
a mistake.  It's just as easy to add (concat "\\<" ... "\\>") around the
call to regexp-opt.  Actually, the whole `paren' argument should
disappear (i.e. be hardcoded to "\\(?:").


        Stefan



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

Previous Next


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