Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > (Ilya?) cperl-mode.el and *unescaped* "/" within char-classes?

Reply
Thread Tools

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

 
 
David Combs
Guest
Posts: n/a
 
      05-29-2005

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


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dealing with nested xml within nested xml within...... Ultrus Python 3 07-09-2007 09:00 PM
GetElementbyID question - within MasterPage/contentpage - within tables Elmo Watson ASP .Net 1 05-08-2007 05:12 PM
How do I include a server tag within a javascript parameter which is itself within a HTML element event? mark4asp ASP .Net 2 11-07-2006 06:23 AM
Referring to a textbox within a web control within an aspx KatB ASP .Net 0 04-22-2005 07:14 PM
search within a search within a search - looking for better way...my script times out Abby Lee ASP General 5 08-02-2004 04:01 PM



Advertisments