Skip to content

Commit d477cfe

Browse files
committed
Make minor styling changes to readme
1 parent 2961974 commit d477cfe

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

readme.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,18 @@
1313
## Usage
1414

1515
```js
16-
const ethereumRegex = require('ethereum-regex');
16+
const ethereumRegex = require('ethereum-regex')
1717

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

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

24-
ethereumRegex({exact: true}).test('0x281055afc982d96fab65b3a49cac8b878184cb16');
24+
ethereumRegex({exact: true}).test('0x281055afc982d96fab65b3a49cac8b878184cb16')
2525
//=> true
2626

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

0 commit comments

Comments
 (0)