minimatch 0.2.13 → 0.2.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/minimatch.js CHANGED
@@ -618,6 +618,7 @@ function parse (pattern, isSub) {
618
618
  continue
619
619
  }
620
620
 
621
+ clearStateChar()
621
622
  re += "|"
622
623
  continue
623
624
 
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me)",
3
3
  "name": "minimatch",
4
4
  "description": "a glob matcher in javascript",
5
- "version": "0.2.13",
5
+ "version": "0.2.14",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "git://github.com/isaacs/minimatch.git"
@@ -3,5 +3,6 @@ var minimatch = require('../')
3
3
 
4
4
  test('extglob ending with statechar', function(t) {
5
5
  t.notOk(minimatch('ax', 'a?(b*)'))
6
+ t.ok(minimatch('ax', '?(a*|b)'))
6
7
  t.end()
7
8
  })