diff options
Diffstat (limited to 'lib/gitlab/unicode.rb')
-rw-r--r-- | lib/gitlab/unicode.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/unicode.rb b/lib/gitlab/unicode.rb index f291ea1b4ee..b78393dd101 100644 --- a/lib/gitlab/unicode.rb +++ b/lib/gitlab/unicode.rb @@ -7,13 +7,13 @@ module Gitlab # # Documentation on how this works: # https://idiosyncratic-ruby.com/41-proper-unicoding.html - BIDI_REGEXP = /\p{Bidi Control}/.freeze + BIDI_REGEXP = /\p{Bidi Control}/ # Regular expression for identifying space characters # # In web browsers space characters can be confused with simple # spaces which may be misleading - SPACE_REGEXP = /\p{Space_Separator}/.freeze + SPACE_REGEXP = /\p{Space_Separator}/ class << self # Warning message used to highlight bidi characters in the GUI |