REGEX() public static method

Will return a new searchable that will allow normal searching which also allows regex searching.
public static REGEX ( ) : OpenSkill\Datatable\Columns\Searchable\RegexSearchable
return OpenSkill\Datatable\Columns\Searchable\RegexSearchable
 /**
  * Simple test that will test if the immutable object is created as wished
  */
 public function testBasicColumnConfiguration()
 {
     $name = "fooBar";
     $cc = ColumnConfigurationBuilder::create()->name($name)->searchable(Searchable::REGEX())->orderable(Orderable::NONE())->build();
     $this->assertSame($name, $cc->getName(), "Name should be set correctly");
     $this->assertTrue($cc->getSearch()->isSearchable(), "The column should be searchable");
     $this->assertFalse($cc->getOrder()->isOrderable(), "The column should be orderable");
 }
 public function testDefaultOrderMultiWithRegexSearch()
 {
     $this->orderAndSearchMultiTest(true, Searchable::REGEX());
 }
 public function testClass()
 {
     $t = Searchable::REGEX();
     $this->assertTrue($t->isSearchable());
 }