Commit 9dd86e49 authored by tmaruyama's avatar tmaruyama
Browse files

use %r{} instead of // at lib/redmine/unified_diff.rb

Syntax highlight is broken in gedit 2.28.4 on CentOS 6.

git-svn-id: e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 1ee55e22
......@@ -83,7 +83,7 @@ module Redmine
@parsing = true
if line =~ /^[^\+\-\s@\\]/
if line =~ %r{^[^\+\-\s@\\]}
@parsing = false
return false
elsif line =~ /^@@ (\+|\-)(\d+)(,\d+)? (\+|\-)(\d+)(,\d+)? @@/
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment