diff --git a/Readme.md b/Readme.md index 23fa299..a5bb75f 100644 --- a/Readme.md +++ b/Readme.md @@ -69,7 +69,7 @@ var controllers = require('require-all')({ If your directory contains files that you do not want to require, or that you want only a part of the file's name to be used as the property name, `filter` can be a regular expression. In the following example, the `filter` is set to -`/^(.+Controller)\.js$/`, which means only files that end in "Conroller.js" +`/^(.+Controller)\.js$/`, which means only files that end in "Controller.js" are required, and the resulting property name will be the name of the file without the ".js" extension. For example, the file "MainController.js" will match, and since the first capture group will contain "MainController", that