aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominyk Tiller2016-08-29 16:00:40 +0100
committerDominyk Tiller2016-08-29 19:48:34 +0100
commitd3b6a7a763c3188c7d63b569f8fdcfdecc72fc3c (patch)
treef913186859c96b94e985bbf503b927301a873a73
parentff377bebc036b12c09f39ff1df63ed64f6e0d435 (diff)
downloadbrew-d3b6a7a763c3188c7d63b569f8fdcfdecc72fc3c.tar.bz2
formulary: tweak @ translation
-rw-r--r--Library/Homebrew/formulary.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formulary.rb b/Library/Homebrew/formulary.rb
index 162385e60..261a54fef 100644
--- a/Library/Homebrew/formulary.rb
+++ b/Library/Homebrew/formulary.rb
@@ -57,7 +57,7 @@ class Formulary
class_name = name.capitalize
class_name.gsub!(/[-_.\s]([a-zA-Z0-9])/) { $1.upcase }
class_name.tr!("+", "x")
- class_name.gsub!(/\b@\b/, "AT")
+ class_name.sub!(/(.)@(\d)/, "\\1AT\\2")
class_name
end