From 2c7120974019bdfe49b80ec0ca95562356832d7f Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Wed, 5 Nov 2025 06:58:38 +0000 Subject: [PATCH] Fix RuboCop Style/RedundantRegexpCharacterClass (#43437). git-svn-id: https://svn.redmine.org/redmine/trunk@24121 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/application_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 5fc725a82..c1ddaedda 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1453,7 +1453,7 @@ module ApplicationHelper (!)? # escaping ( \{\{ # opening tag - ([\w]+) # macro name + (\w+) # macro name (\(([^\n\r]*?)\))? # optional arguments ([\n\r].*?[\n\r])? # optional block of text \}\} # closing tag