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

Discussion in 'Perl Misc' started by David Combs, May 29, 2005.

  1. David Combs

    David Combs Guest

    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
     
    David Combs, May 29, 2005
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mike Dowling

    cperl-mode and emacs-21.4 brocken?

    Mike Dowling, Feb 18, 2005, in forum: Perl Misc
    Replies:
    8
    Views:
    211
    Ilya Zakharevich
    Mar 9, 2005
  2. David Combs
    Replies:
    5
    Views:
    151
    Radomir Hejl
    Jun 13, 2005
  3. Ilya Zakharevich

    New CPerl (Emacs mode for Perl) available

    Ilya Zakharevich, Oct 6, 2006, in forum: Perl Misc
    Replies:
    0
    Views:
    141
    Ilya Zakharevich
    Oct 6, 2006
  4. PerlFAQ Server
    Replies:
    1
    Views:
    199
    Marc Girod
    Jan 8, 2011
  5. PerlFAQ Server
    Replies:
    0
    Views:
    168
    PerlFAQ Server
    Apr 12, 2011
Loading...

Share This Page