diff --git a/Library/Contributions/example-formula.rb b/Library/Contributions/example-formula.rb index e4c1eb59a6aacbbee22274acd9a3ed897fa4b1f2..818ec9cc8f806e4e16839f63d0d19edb720e9c7b 100644 --- a/Library/Contributions/example-formula.rb +++ b/Library/Contributions/example-formula.rb @@ -250,7 +250,7 @@ class ExampleFormula < Formula # patch you have to resort to `inreplace`, because in the patch # you don't have access to any var defined by the formula. Only # HOMEBREW_PREFIX is available in the embedded patch. - # inreplace supports reg. exes. + # inreplace supports regular expressions. inreplace "somefile.cfg", /look[for]what?/, "replace by #{bin}/tool" # To call out to the system, we use the `system` method and we prefer