Skip to content
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.

Commit

Permalink
Updated the examples
Browse files Browse the repository at this point in the history
  • Loading branch information
laktek committed Oct 4, 2012
1 parent 4bd8cdf commit 7bf0bb6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Readme.md
Expand Up @@ -12,8 +12,8 @@ This is a simple helper to extract values from a string based on a pattern.
extractValues("John Doe <john@example.com> (http://example.com)", "{name} <{email}> ({url})")
>> {"name": "John Doe", "email": "john@example.com", "url": "http://example.com" }

extractValues"from 4th October to 10th October", "from `from` to `to`", { whitespace: 1, delimeters: ["`", "`"] }])
>> {"from": "4th October", "to": "10th October" }]
extractValues("from 4th October to 10th October", "from `from` to `to`", { whitespace: 1, delimeters: ["`", "`"] })
>> {"from": "4th October", "to": "10th October" }
```

### How to Use
Expand Down

0 comments on commit 7bf0bb6

Please sign in to comment.