From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Basil L. Contovounesios" Newsgroups: gmane.emacs.bugs Subject: bug#47534: Subject: 28.0.50; Regexp lower case pattern matches upper case Date: Wed, 31 Mar 2021 23:25:05 +0100 Message-ID: <87blaz0xmm.fsf@tcd.ie> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3286"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 47534@debbugs.gnu.org To: dalanicolai Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 01 00:26:12 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lRjHw-0000jy-Bg for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 01 Apr 2021 00:26:12 +0200 Original-Received: from localhost ([::1]:46314 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRjHu-0003kU-O5 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 31 Mar 2021 18:26:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43868) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRjHm-0003kF-Pn for bug-gnu-emacs@gnu.org; Wed, 31 Mar 2021 18:26:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44150) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lRjHm-0003M0-IX for bug-gnu-emacs@gnu.org; Wed, 31 Mar 2021 18:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lRjHm-0001qS-Ef for bug-gnu-emacs@gnu.org; Wed, 31 Mar 2021 18:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Basil L. Contovounesios" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 31 Mar 2021 22:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47534 X-GNU-PR-Package: emacs Original-Received: via spool by 47534-submit@debbugs.gnu.org id=B47534.16172295156993 (code B ref 47534); Wed, 31 Mar 2021 22:26:02 +0000 Original-Received: (at 47534) by debbugs.gnu.org; 31 Mar 2021 22:25:15 +0000 Original-Received: from localhost ([127.0.0.1]:55694 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRjH1-0001oi-7w for submit@debbugs.gnu.org; Wed, 31 Mar 2021 18:25:15 -0400 Original-Received: from mail-wm1-f49.google.com ([209.85.128.49]:56206) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRjGz-0001oM-Pm for 47534@debbugs.gnu.org; Wed, 31 Mar 2021 18:25:14 -0400 Original-Received: by mail-wm1-f49.google.com with SMTP id 12so74427wmf.5 for <47534@debbugs.gnu.org>; Wed, 31 Mar 2021 15:25:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd.ie; s=google21; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=5YpkYK7q9Cu4tzLqZEUBT5+MzNJv7inVR8rtTyTO8S8=; b=FlvEfQDdUD1F/jdcu7qIohRQj79EfkYfUHANnmA8OirgCDrsAvKua30obXcOH+SlGO MlOj1EfNjJ1fw/+8yNEy8H3iDh3ir8fPa39Vs6wIjk7C58MsudH2cdbKowZQ+UNLWBfD 5PcDstHCcMYIEaL5u9txFN1hxf1PTG6zt+e1eTv5rJ2EYs4maEFpA7/085BRdwMwDZ3z 48LRrIRoRdghR8ldrF9m8HT9ONyTaTIug9q5YfmiEtgMS3V5QZVYsOFMYThoKPPizwbf TuT1PX5SrlVSuy5SsvqK6LIdC+O8nBQwQLhDfhtHAsfFaLv1VIqnyQo1EjuFWv8JvxyC Dbbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=5YpkYK7q9Cu4tzLqZEUBT5+MzNJv7inVR8rtTyTO8S8=; b=rCMm8issxbn2FWuCv8a857AXR0+Sz0ElVopw5hW0qWj19phsZcC1O71qejQFpB5dKJ UAD1FRUAsVSHIVKjUPYAbvDb5xy4vOPIxwYA/oUcOQbsVMatGbnvHnTvONSGRwoy9sm3 XZOFEOtEjKZsnVHtm01jXcd9QOh8svz9PofYB9nA23W6wooRC5M/JtQf5C5mcwUqrtWx iCJUqghsmZ37od1wq0BBxrMtFKABwnzWagiEXIDKsegoCHzQa3zncDWuT9J5IKBCqb6t dK8R/Gip3FlQJxIuGnp5NNrK7uouo4EKS2LwLWdCMfSjJ8nPrZ4TGECYHqXtmQ4xRGio ZcbA== X-Gm-Message-State: AOAM532qZUDbhMl/QWIaiwDzgZs839tevVdZQCKyiU1ZbuJ368PKJjOl C1mxbVtTw486KjT51P9qxLT3Yg== X-Google-Smtp-Source: ABdhPJyg6ZH+jP0UcoPvLwr9pjxpQyC3rE2LJglb0i7yc0DZU2O4aLdjFHHmaQCKsdGkmazi6J1cmQ== X-Received: by 2002:a1c:7916:: with SMTP id l22mr4938104wme.86.1617229507974; Wed, 31 Mar 2021 15:25:07 -0700 (PDT) Original-Received: from localhost ([2a02:8084:20e2:c380:d15:339e:aa10:60f1]) by smtp.gmail.com with ESMTPSA id o11sm6505231wrq.74.2021.03.31.15.25.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Mar 2021 15:25:07 -0700 (PDT) In-Reply-To: (dalanicolai's message of "Wed, 31 Mar 2021 23:58:34 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:203393 Archived-At: dalanicolai writes: > When using the regexp builder and trying to match only lower case > letters (and spaces), Emacs also includes upper case matches. I think this is the effect of the user option case-fold-search, which defaults to non-nil (this is the case across most search-related parts of Emacs, including Isearch). You can toggle it in re-builder specifically with C-c C-c (reb-toggle-case), or across all buffers by customising case-fold-search to be nil. > Also, I am unable to find in the manual any information about the > option of setting different syntaxes in the regexp builder I think most of the documentation for re-builder.el is in its commentary at the start of the file; see M-x find-library RET re-builder RET. I haven't used re-builder much, but from M-x customize-group RET re-builder RET I see there is a user option reb-re-syntax for controlling the default syntax. C-h m in the re-builder buffer further reveals that the command C-c C-i (reb-change-syntax) can modify reb-re-syntax on the fly. > (also the option is not mentioned in the regexp-builder docstring). So > I would additionally like to report this as a documentation bug. Are you referring to the docstring of the re-builder command, or something else? And is it a listing of key bindings you would like to see, or something else? Would you like to provide a patch with suggestions for improvements? Thanks, -- Basil