We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11d9a64 commit 37494dbCopy full SHA for 37494db
tests/PatternTest.php
@@ -72,6 +72,7 @@ public function it_can_convert_a_complex_glob_pattern_to_a_regular_expressions()
72
$this->assertEquals('#^foo}bar\.txt$#', Pattern::make('foo}bar.txt')->toRegex());
73
$this->assertEquals('#^foo,bar\.txt$#', Pattern::make('foo,bar.txt')->toRegex());
74
$this->assertEquals('#^foo/.*/[^/]*\.txt$#', Pattern::make('foo/**/*.txt')->toRegex());
75
+ $this->assertEquals('#^(foo|ba[rz])\.txt$#', Pattern::make('{foo,ba[rz]}.txt')->toRegex());
76
}
77
78
#[Test]
0 commit comments