Skip to content

Commit 7352187

Browse files
authored
Update README.md
1 parent dece5d9 commit 7352187

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ time.sleep(SECONDS_IN_A_DAY)
8080

8181
### Use explanatory variables
8282
**Bad:**
83-
```php
84-
$address = 'One Infinite Loop, Cupertino 95014';
85-
$cityZipCodeRegex = '/^[^,\\]+[,\\\s]+(.+?)\s*(\d{5})?$/';
83+
```python
84+
address = 'One Infinite Loop, Cupertino 95014'
85+
city_zip_code_regex = r'/^[^,\\]+[,\\\s]+(.+?)\s*(\d{5})?$/'
8686
preg_match($cityZipCodeRegex, $address, $matches);
8787

8888
saveCityZipCode($matches[1], $matches[2]);

0 commit comments

Comments
 (0)