(Ilya?) cperl-mode.el and *unescaped* "/" within char-classes?

D

David Combs

Subject: (Ilya?) cperl-mode.el and *unescaped* "/" within char-classes?


(Oh, I'm using emacs 22.0.50.1 (cvs version).

QUESTION -- with your very most up-to-date version, what happens
when you try this:

In either of the following two lines of perl, remove the backslash
before the fwd-slashs, and cperl-mode.el gets confused.

(eg colors change, won't indent correctly, etc).



next if ( $line !~ qr!^([a-zA-Z\/.0-9]+)$! ); #debug

next if ( $line !~ qr!^([a-zA-Z\/.0-9]+):([0-9]+):(.*)$! ); #debug
# |||foo.bar:1234:now is the time.|||



If, instead, everything works ok, please let me know, and also
tell me how to get the cperl-mode.el that you just used.

Thanks!

David
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top