Skip to content

Commit

Permalink
Update fail-faster.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Mar 18, 2018
1 parent 3a471e9 commit be4a477
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/regexp/fail-faster.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ $ regexgen wave freewave freestylewave "freestyle wave"
You can combine it with [randexp](https://github.com/fent/randexp.js) to generates random strings that match a given RegExp:

```js
const RandExp = require('randexp');
new RandExp(/hello+ (world|to you)/).gen();
const RandExp = require('randexp')
new RandExp(/hello+ (world|to you)/).gen()
// => hellooooooooooooooooooo world
```

0 comments on commit be4a477

Please sign in to comment.