<?php

namespace Inventory\Model\Validate;

use Zend\Validator\AbstractValidator;
use Zend\Validator\Regex;

class SearchPattern extends AbstractValidator
{
    public function isValid($value)
    {
        $val = new Regex(array('pattern'=>'/[\s\S]*?/i'));
        if (!$val->isValid($value))
			return false;

        return true;
    }
}
Revert "Tue Aug 13 23:09:09 MDT 2013"
Revert "Tue Aug 13 23:09:09 MDT 2013"

This reverts commit 5679872f4e219e6e4fd57a265cb1e2f65ee2b81f.
