unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Pablo Marin Garcia <dysdera@ebi.ac.uk>
Subject: re:  cperl-mode:  paren-bounce vs (dQuotes in regexps)
Date: Tue, 27 Jul 2004 16:48:15 +0100 (BST)	[thread overview]
Message-ID: <Pine.LNX.4.44.0407271618320.21322-100000@pigeon.ebi.ac.uk> (raw)
In-Reply-To: <200407270848.i6R8mNF25697@maui.ebi.ac.uk>


Probably is a problem with your version of cperl. It works for me  for 
the external parents. 
 I am using the cperl that 
comes with emacs windows 21.2.x (I am not sure of the cperl version but 
the last history line contains: "After 4.31:"). 


Your line only fails in the internal pair broken by the doublequote

(\s+boundary="--) 

my Cperl is unable to match any of this parents.

-- David Combs wrote --



> Subject: cperl-mode:  paren-bounce vs (dQuotes in regexps)
> 
> (emacs 21.2)

>      $gBoundaryTag = $2 if (  $gCurLine m/^(\s+boundary="--)([0-9]+)"$/ 
>);

>Under text-mode, the above bounces fine -- leftmost "(" vs rightmost ")".

>But not under cperl-mode (try it) -- you'll get the rightmost ")" 
>matching
>   the 2nd-from-the-left "(".

>Suggestions on how to handle this?


>Thanks!
>David


.             /   __   \                      /   __   \
          \  |  ///\\\  |  /              \  |  ///\\\  |  /
           \ \_((####))_/ /                \ \_((####))_/ /
            \__ ((##)) __/                  \__ ((##)) __/
               / |||| \                        / |||| \
             / |  oo  | \                    / |  oo  | \
            |  |  !!  |  |                  |  |  !!  |  |
                \    /            \\|//         \    /
                                  (o o)
. .-.   .-. .-.   .-. .-.   .-oOOo~(_)~oOOo-.   .-. .-.   .-. .-.
|X|||\ /|||X|||\ /|||X|||\ /|||X|||\ /|||X|||\ /|||X|||\ /|||X|||\
/ \|||X|||/ \|||X|||/ \|||X|||/ \|||X|||/ \|||X|||/ \|||X|||/ \|||
   `-' `-'   `-' `-'   `-' `-'   `-' `-'   `-' `-'   `-' `-'   `-'

       reply	other threads:[~2004-07-27 15:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200407270848.i6R8mNF25697@maui.ebi.ac.uk>
2004-07-27 15:48 ` Pablo Marin Garcia [this message]
2004-07-27  5:21 cperl-mode: paren-bounce vs (dQuotes in regexps) David Combs

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/emacs/

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

  git send-email \
    --in-reply-to=Pine.LNX.4.44.0407271618320.21322-100000@pigeon.ebi.ac.uk \
    --to=dysdera@ebi.ac.uk \
    /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).