'use strict';

var path = require('path');
var isglob = require('is-glob');

module.exports = function globParent(str) {
	while (isglob(path.basename(str))) str = path.dirname(str);
	return str;
};

'use strict';

var path = require('path');
var isglob = require('is-glob');

module.exports = function globParent(str) {
	while (isglob(str)) str = path.dirname(str);
	return str;
};

Revert "Make regex test strings smaller"
Revert "Make regex test strings smaller"

This reverts commit 1f0d163b85ef67f8408f7cfcfa9de0afcf61f6d1.
