Issue #5024 has been reported by Robert Smith. ---------------------------------------- Bug #5024: ruby-mode.el syntax highlighting breaks on regular expression with quotes http://redmine.ruby-lang.org/issues/5024 Author: Robert Smith Status: Open Priority: Normal Assignee: Category: Target version: 1.9.2 ruby -v: 1.9.2-p180 revision 30909 I am using 1.9.2-p160 revision 29036 If there are an odd number of quotation marks inside a regular expression, the syntax highlighting breaks, continuing the regular expression color until another quotation mark is found. method /^"([^"]*)"$/ do |arg| # continues regular expression syntax color until quotation is matched Syntax continues to work correctly with parentheses around the method, such as method(/^"([^"]*)"$/) do |arg| Searching led me to a related bug that was fixed: http://redmine.ruby-lang.org/issues/show/4242
[Ruby 1.9 - Bug #5024][Open] ruby-mode.el syntax highlighting breaks on regular expression with quot
on 2011-07-13 10:06
on 2011-07-13 10:06
Issue #5024 has been updated by Robert Smith. Sorry, I meant revision 30909 in the description. ---------------------------------------- Bug #5024: ruby-mode.el syntax highlighting breaks on regular expression with quotes http://redmine.ruby-lang.org/issues/5024 Author: Robert Smith Status: Open Priority: Normal Assignee: Category: Target version: 1.9.2 ruby -v: 1.9.2-p180 revision 30909 I am using 1.9.2-p160 revision 29036 If there are an odd number of quotation marks inside a regular expression, the syntax highlighting breaks, continuing the regular expression color until another quotation mark is found. method /^"([^"]*)"$/ do |arg| # continues regular expression syntax color until quotation is matched Syntax continues to work correctly with parentheses around the method, such as method(/^"([^"]*)"$/) do |arg| Searching led me to a related bug that was fixed: http://redmine.ruby-lang.org/issues/show/4242
on 2011-07-15 17:11
Issue #5024 has been updated by Yui NARUSE. Status changed from Open to Assigned Assignee set to Nobuyoshi Nakada ---------------------------------------- Bug #5024: ruby-mode.el syntax highlighting breaks on regular expression with quotes http://redmine.ruby-lang.org/issues/5024 Author: Robert Smith Status: Assigned Priority: Normal Assignee: Nobuyoshi Nakada Category: Target version: 1.9.2 ruby -v: 1.9.2-p180 revision 30909 I am using 1.9.2-p160 revision 29036 If there are an odd number of quotation marks inside a regular expression, the syntax highlighting breaks, continuing the regular expression color until another quotation mark is found. method /^"([^"]*)"$/ do |arg| # continues regular expression syntax color until quotation is matched Syntax continues to work correctly with parentheses around the method, such as method(/^"([^"]*)"$/) do |arg| Searching led me to a related bug that was fixed: http://redmine.ruby-lang.org/issues/show/4242
on 2011-08-02 03:48
Issue #5024 has been updated by Yui NARUSE. Parent task set to #5142 ---------------------------------------- Bug #5024: ruby-mode.el syntax highlighting breaks on regular expression with quotes http://redmine.ruby-lang.org/issues/5024 Author: Robert Smith Status: Assigned Priority: Normal Assignee: Nobuyoshi Nakada Category: Target version: 1.9.2 ruby -v: 1.9.2-p180 revision 30909 I am using 1.9.2-p160 revision 29036 If there are an odd number of quotation marks inside a regular expression, the syntax highlighting breaks, continuing the regular expression color until another quotation mark is found. method /^"([^"]*)"$/ do |arg| # continues regular expression syntax color until quotation is matched Syntax continues to work correctly with parentheses around the method, such as method(/^"([^"]*)"$/) do |arg| Searching led me to a related bug that was fixed: http://redmine.ruby-lang.org/issues/show/4242
on 2012-09-06 02:34
Issue #5024 has been updated by dgutov (Dmitry Gutov). This is kinda-fixed in the Emacs trunk, provided that "method" is one of the names in the list `ruby-syntax-methods-before-regexp`. Otherwise, the whole regexp literal isn't recognized in the first example. It should be obvious, the string-like highlighting would only start after the " character. ---------------------------------------- Bug #5024: ruby-mode.el syntax highlighting breaks on regular expression with quotes https://bugs.ruby-lang.org/issues/5024#change-29202 Author: slickrobert (Robert Smith) Status: Assigned Priority: Normal Assignee: nobu (Nobuyoshi Nakada) Category: Target version: 1.9.2 ruby -v: 1.9.2-p180 revision 30909 I am using 1.9.2-p160 revision 29036 If there are an odd number of quotation marks inside a regular expression, the syntax highlighting breaks, continuing the regular expression color until another quotation mark is found. method /^"([^"]*)"$/ do |arg| # continues regular expression syntax color until quotation is matched Syntax continues to work correctly with parentheses around the method, such as method(/^"([^"]*)"$/) do |arg| Searching led me to a related bug that was fixed: http://redmine.ruby-lang.org/issues/show/4242
[ruby-trunk - Bug #5024][Third Party's Issue] ruby-mode.el syntax highlighting breaks on regular exp
on 2012-12-03 05:54
Issue #5024 has been updated by nobu (Nobuyoshi Nakada). Category set to misc Status changed from Assigned to Third Party's Issue ---------------------------------------- Bug #5024: ruby-mode.el syntax highlighting breaks on regular expression with quotes https://bugs.ruby-lang.org/issues/5024#change-34344 Author: slickrobert (Robert Smith) Status: Third Party's Issue Priority: Normal Assignee: nobu (Nobuyoshi Nakada) Category: misc Target version: 1.9.2 ruby -v: 1.9.2-p180 revision 30909 I am using 1.9.2-p160 revision 29036 If there are an odd number of quotation marks inside a regular expression, the syntax highlighting breaks, continuing the regular expression color until another quotation mark is found. method /^"([^"]*)"$/ do |arg| # continues regular expression syntax color until quotation is matched Syntax continues to work correctly with parentheses around the method, such as method(/^"([^"]*)"$/) do |arg| Searching led me to a related bug that was fixed: http://redmine.ruby-lang.org/issues/show/4242
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.