This commit is contained in:
satya verma 2023-06-28 13:00:03 +00:00 committed by GitHub
commit 22db1d9b8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -112,9 +112,9 @@ map to:
```js
{
initial: 'foo',
any: ['bar', 'cat'],
final: 'dog'
subInitial: 'foo',
subAny: ['bar', 'cat'],
subFinal: 'dog'
}
```
@ -124,9 +124,9 @@ key matching `attribute` and the "regex" matches the value
```js
const f = new SubstringFilter({
attribute: 'cn',
initial: 'foo',
any: ['bar'],
final: 'baz'
subInitial: 'foo',
subAny: ['bar'],
subFinal: 'baz'
});
f.matches({cn: 'foobigbardogbaz'}); => true