[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
re: cperl-mode: paren-bounce vs (dQuotes in regexps)
From: |
Pablo Marin Garcia |
Subject: |
re: cperl-mode: paren-bounce vs (dQuotes in regexps) |
Date: |
Tue, 27 Jul 2004 16:48:15 +0100 (BST) |
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|||/ \|||
`-' `-' `-' `-' `-' `-' `-' `-' `-' `-' `-' `-' `-'