Search found 1 match

by nickolay
Tue Feb 09, 2010 3:33 pm
Forum: Bugs
Topic: Incorrect regex parsing (example included)
Replies: 0
Views: 6909

Incorrect regex parsing (example included)

Hello, My version of Spket (plugin for eclipse v1.6.18) incorrectly highlights the following regex: getHash : function () { return /[^#]*(?:#(.*))?/.exec(window.location.href)[1] || null }, It only treats this part as regex: /.exec(window.location.href)[1] || null Otherwise great tool, thanks a lot....