davidchambers/doctest — pull request #41 by eush77 (2014-11-08 23:48:34+00:00)
Title: Extract and export doctest.string

It is hard to use a module as a dependency if its interface is built upon the file system.

This PR separates `doctest.string(text, options, callback)` function so that it can be used independently.

```js
> doctest.string('// > 2+2\n// 4')
[ [ true, 4, 4, 2 ] ]
```