Skip to content

Commit 3f8c82b

Browse files
Updated README.md file accordingly to last changes
1 parent 0d43257 commit 3f8c82b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ The string to search for.
8888
Type: `String` or `Function`
8989
9090
The replacement string or function. Called once for each match.
91+
Function has access to regex outcome (all arguments are passed).
9192
9293
##### options
9394
Type: `Object`
@@ -105,6 +106,7 @@ Displaying "not replaced" logs.
105106
More details here: [MDN documentation for RegExp] and [MDN documentation for String.replace].
106107
107108
### Release History
109+
* 2017-01-19 v0.4.0 Passed entire regex outcome to replace function.
108110
* 2017-01-04 v0.3.1 Improved documentation. Removed duplicated comments & Fixed typo.
109111
* 2016-11-30 v0.3.0 Default value for "notReplaced" set to "false".
110112
* 2016-09-24 v0.2.0 Added options object.
@@ -120,4 +122,4 @@ Task submitted by [Tomasz Czechowski](http://czechowski.pl/). License MIT.
120122
[npm-url]: https://npmjs.org/package/gulp-string-replace
121123
[npm-image]: https://badge.fury.io/js/gulp-string-replace.svg
122124
[gulp-string-replace-dependencies-image]: https://david-dm.org/tomaszczechowski/gulp-string-replace/status.png
123-
[gulp-string-replace-dependencies-url]: https://david-dm.org/tomaszczechowski/gulp-string-replace#info=dependencies
125+
[gulp-string-replace-dependencies-url]: https://david-dm.org/tomaszczechowski/gulp-string-replace#info=dependencies

0 commit comments

Comments
 (0)