flux icon indicating copy to clipboard operation
flux copied to clipboard

Negative look behind or not()

Open apburton84 opened this issue 8 years ago • 1 comments

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 avatar Jul 08 '16 11:07 apburton84

@apburton84 Might be a nice addition. Do you want to submit a pull request?

selvinortiz avatar Jul 15 '16 03:07 selvinortiz