Skip to content

Commit 069d40c

Browse files
committed
CS fixes
1 parent b20ed2b commit 069d40c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ VerbalExpressions is a PHP library that helps to construct hard regular expressi
88

99
// some tests
1010

11-
$regex = new VerEx;
11+
$regex = new VerbalExpressions;
1212

1313
$regex ->startOfLine()
14-
->then( "http" )
15-
->maybe( "s" )
16-
->then( "://" )
17-
->maybe( "www." )
18-
->anythingBut( " " )
14+
->then("http")
15+
->maybe("s")
16+
->then("://")
17+
->maybe("www.")
18+
->anythingBut(" ")
1919
->endOfLine();
2020

2121

@@ -35,7 +35,7 @@ echo "<pre>". $regex->getRegex() ."</pre>";
3535

3636

3737

38-
echo $regex ->clean(array("modifiers"=> "m","replaceLimit"=>4))
38+
echo $regex ->clean(array("modifiers" => "m", "replaceLimit" => 4))
3939
->find(' ')
4040
->replace("This is a small test http://somesite.com and some more text.", "-");
4141

0 commit comments

Comments
 (0)