Skip to content

Commit 0c4b0ef

Browse files
committed
fix: Update samples
1 parent ae4599a commit 0c4b0ef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
77
[![dependencies](https://david-dm.org/vlaraort/ultimate-string-replace.svg)](https://david-dm.org/vlaraort/ultimate-string-replace)
88

9-
Helper to allow to find and wrap matches in a string.
9+
Javascript library to allow to find and wrap matches in a string.
1010

1111
It's main purpose is to be used in filters of objects, so you can highlight matches.
1212

@@ -36,6 +36,7 @@ const response = ultimateStringReplace(data, "rème brûlée", {'wrap_preffix':
3636
| `23` | `12 34` | `1<b>2 3</b>4` |
3737
| `rème brûlée` | `Crème brûlée` | `C<b>rème brûlée</b>` |
3838
| `` | `Víctor victor Victor` | `<b>Ví</b>ctor victor Victor` |
39+
| `vi` | `Víctor victor Victor` | `<b>Ví</b>ctor <b>vi</b>ctor <b>Vi<b>ctor` |
3940
| `` | `Víctor victor Victor` | `<b>Ví</b>ctor victor Victor` |
4041
| `no` | `Víctor victor Victor` | `false` |
4142

0 commit comments

Comments
 (0)