Skip to content

Commit 9e8f2fd

Browse files
author
Tomáš Votruba
authored
Merge pull request #49 from mstruebing/fix/matchersToMatches
Correct spelling
2 parents a64ad7f + 1a0c0c0 commit 9e8f2fd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ $address = 'One Infinite Loop, Cupertino 95014';
9999
$cityZipCodeRegex = '/^[^,\\]+[,\\\s]+(.+?)\s*(\d{5})?$/';
100100
preg_match($cityZipCodeRegex, $address, $matches);
101101

102-
list(, $city, $zipCode) = $matchers;
102+
list(, $city, $zipCode) = $matches;
103103
saveCityZipCode($city, $zipCode);
104104
```
105105

0 commit comments

Comments
 (0)