This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 101882

Summary: Highlighting problem with singlequoted strings with escape sequences
Product: ruby Reporter: teki321 <teki321>
Component: EditingAssignee: issues@ruby <issues>
Status: NEW ---    
Severity: blocker CC: pjiricka
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description teki321 2007-04-20 00:59:09 UTC
Sample string:
VssBin = '"C:\Program Files\Microsoft Visual Studio\VSS\win32\SS.EXE"'

Highlights the \P \M \V \w \S substrings as escape sequences.
Comment 1 Jiri Kovalsky 2007-07-03 14:09:08 UTC
Reassigning this issue to newly created 'ruby' component.
Comment 2 Torbjorn Norbye 2007-08-07 21:49:59 UTC
The intension was to alert users to possibly unintended usage of \n in a singlequoted string but this gets in the way of legitimate uses where you want to 
emit \ followed by n as opposed to the newline, and you used a singlequoted string specifically for that purpose.
Comment 3 Erno Mononen 2009-03-12 13:41:26 UTC
Still an issue in 090312.