From 212ebd7de6c5b4251c2c8263eef2ba78bb48907d Mon Sep 17 00:00:00 2001 From: Ted Winslow Date: Thu, 23 Jul 2015 08:55:30 -0400 Subject: [PATCH] making readme a bit clearer --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 38ea306..26fa0bd 100644 --- a/README.md +++ b/README.md @@ -62,11 +62,11 @@ wildstring.replace('*/*/*', [ new Date.getMonth() + 1, new Date.getDate(), new D ### You make everything, groovy -You can use your wildcards with wildstring, so you can wildstring everything. You can even turn off case sensitive matching if you want. +You can use your own wildcards with wildstring, so you can wildstring everything. You can even turn off case sensitive matching if you want. ``` js wildstring.wildcard = 'stuff'; wildstring.match('Test stuff', 'Test wild'); // true, wildcard 'stuff' matches 'wild' -wildstring.replace('stuff stuff', [ 'WILD', 'thing' ]); // 'WILD thing' +wildstring.replace('stuff and stuffthings', [ 'WILD', 'thing' ]); // 'WILD and thingthings' // turn off case sensitive matching wildstring.caseSensitive = false; wildstring.match('tEsT', 'TeSt'); // true, 'test' matches 'test'