bugespresso-mode - Bugs: bug #26686, font-lock gets thrown of by regex

 
 

bug #26686: font-lock gets thrown of by regex

Submitted by:  None
Submitted on:  Tue 26 May 2009 05:40:55 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 26 May 2009 05:40:55 PM UTC, original submission:

Put the following in a buffer and enable espresso-mode

function to_date(isodate) {
return new Date(isodate.replace(/-/g, "/"));
}

function to_date(isodate) {
return new Date(isodate.replace(/-/g, "/"));
}

Everything after the first /-/g becomes fontified with font-lock-string-face

Darwin vj-mac.local 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 i386

--
Vagn Johansen
-unavailable-

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by quotemstr (Updated the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 02 Jun 2009 05:09:58 PM UTCquotemstrOpen/ClosedOpen=>Closed
    Tue 26 May 2009 07:39:47 PM UTCquotemstrStatusNone=>Fixed

    Back to the top


    Powered by Savane 3.1-cleanup1