From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Skip Montanaro Newsgroups: gmane.emacs.help Subject: Re: Regex to match underscore in function name in Python Mode? Date: Sat, 22 Jul 2017 22:20:03 -0500 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1500780044 24195 195.159.176.226 (23 Jul 2017 03:20:44 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 23 Jul 2017 03:20:44 +0000 (UTC) Cc: Help GNU Emacs To: Nate Bargmann Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jul 23 05:20:38 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dZ7Ra-0005jA-44 for geh-help-gnu-emacs@m.gmane.org; Sun, 23 Jul 2017 05:20:34 +0200 Original-Received: from localhost ([::1]:49054 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dZ7Rf-000555-Ds for geh-help-gnu-emacs@m.gmane.org; Sat, 22 Jul 2017 23:20:39 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60006) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dZ7RA-00053a-M9 for help-gnu-emacs@gnu.org; Sat, 22 Jul 2017 23:20:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dZ7RA-0008Gz-16 for help-gnu-emacs@gnu.org; Sat, 22 Jul 2017 23:20:08 -0400 Original-Received: from mail-io0-x22e.google.com ([2607:f8b0:4001:c06::22e]:38803) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dZ7R9-0008Cz-Qn for help-gnu-emacs@gnu.org; Sat, 22 Jul 2017 23:20:07 -0400 Original-Received: by mail-io0-x22e.google.com with SMTP id g13so33244562ioj.5 for ; Sat, 22 Jul 2017 20:20:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=22NqRbIVrEar4c20Axau2lZYYEJt4kEgYd90nFsA8uE=; b=NUuYX5nj5kTPuOSlmTti0Tu3w97aSyblW1pTT5URD0GS19PivAk4+MYdTsINJB6GuI LAWY0azQ6VmYIiSf/7mDwU4Y5mv4+1CnL+s4susnFhTVQ0MjjydsSCBzu4dL5DHfCed2 MhVgXIHDkFWjPajrpwPt1OXqAV+7E5FJkLcUsC/QL1UDdCDt0+reqQIobGalGvNQRhxC 0YOIzwinGw11P4t0lgPTQQdfpcrjLErm/ZQzDHsHfbOu6HP8ZshTClBrmhOiu9/QbBF+ jFBAFBWJqbgYwWMm88S85K2qcmgQmIblQCTr+FMwm3YWzkz8zsIB5yDK8rJvwPCk9qkg 8Pqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=22NqRbIVrEar4c20Axau2lZYYEJt4kEgYd90nFsA8uE=; b=G+cmovytyRJDxXHkiD6X8YW39ZhM1ydf4MSAa3WrS76a/poZe2aYQFJjazMgaJEHtR I0qcKMndAUZY87XMx1FNG+qlq4hvjZO0dO+9NcbhD3HtxLaF9o9gq2kRExUx9V4Kw68C ycWzJ9aaVIsySaHg0QZufWiA6PlwpYSXa42xbjBBIx0ayZN+aTsEf4tzBbTNkYhBrqOB m3khjddnosSqPykyYZrkuuXbXs96ue4ZCOR+yCHWzgL7wU1GfIbZMZV1JRTve7bY+rl3 umccCxkqc1wq7+j+G1P8r3SzptbGcLHJJOnUm9n4btRlJPXepmebIwgK9ZV6a9dfKm8O 3/DQ== X-Gm-Message-State: AIVw111bpyx9f1LcvWMnYj8Gc81cHL32t7E9WxEGdc4zt4cr6ccgVuBx 5frW57O2CgvACltWkazCALJ00a0Dif1l X-Received: by 10.107.56.134 with SMTP id f128mr11730956ioa.202.1500780005501; Sat, 22 Jul 2017 20:20:05 -0700 (PDT) Original-Received: by 10.107.57.68 with HTTP; Sat, 22 Jul 2017 20:20:03 -0700 (PDT) Original-Received: by 10.107.57.68 with HTTP; Sat, 22 Jul 2017 20:20:03 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4001:c06::22e X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:113836 Archived-At: I am attempting to use the same for python mode, however, the regex matches up to the first underscore, if there is one, but no further. Are you sure underscores are considered weird characters? I recall some disagreement between the GNU folks and the Python folks about that. Skip