Skip to content

Commit a901a44

Browse files
committed
Minor readme change
1 parent a41e73b commit a901a44

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,16 @@
1515
```js
1616
const ethereumRegex = require('ethereum-regex');
1717

18-
ethereumRegex().test('nodejsr0cks 0x281055afc982d96fab65b3a49cac8b878184cb16');
18+
ethereumRegex().test('nodejsrocks 0x281055afc982d96fab65b3a49cac8b878184cb16');
1919
//=> true
2020

21-
ethereumRegex({exact: true}).test('nodejsr0cks 0x281055afc982d96fab65b3a49cac8b878184cb16 foo');
21+
ethereumRegex({exact: true}).test('nodejsrocks 0x281055afc982d96fab65b3a49cac8b878184cb16 foo');
2222
//=> false
2323

2424
ethereumRegex.v6({exact: true}).test('0x281055afc982d96fab65b3a49cac8b878184cb16');
2525
//=> true
2626

27-
'nodejsr0cks 0x6f46cf5569aefa1acc1009290c8e043747172d89 unicorn 0x90e63c3d53e0ea496845b7a03ec7548b70014a91 rainbow'.match(ethereumRegex());
27+
'nodejsrocks 0x6f46cf5569aefa1acc1009290c8e043747172d89 unicorn 0x90e63c3d53e0ea496845b7a03ec7548b70014a91 rainbow'.match(ethereumRegex());
2828
//=> ['0x6f46cf5569aefa1acc1009290c8e043747172d89', '0x90e63c3d53e0ea496845b7a03ec7548b70014a91']
2929
```
3030

test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ test('Non-exact ETH addresses', t => {
2828
for (const x of fixtures) {
2929
t.is((m().exec(`foo ${x} bar`) || [])[0], x);
3030
}
31-
31+
3232
t.is(m().exec('ethereum:0x90e63c3d53e0ea496845b7a03ec7548b70014a91')[0], '0x90e63c3d53e0ea496845b7a03ec7548b70014a91');
3333
});
3434

0 commit comments

Comments
 (0)