public function testRegexResult1() { $this->assertEquals(Str::regexResult('/([\\w]+)/', 'foo bar', 0), ['foo', 'bar']); }