flux
flux copied to clipboard
Negative look behind or not()
the implementation of:
$flux->not('something');
would be of great use to myself
(?!something)
An implementation of:
public function not($string)
{
return $this->raw(sprintf('(?!%s)', $string));
}
@apburton84 Might be a nice addition. Do you want to submit a pull request?