Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7352187

Browse files
authored
Update README.md
1 parentdece5d9 commit7352187

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎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)

[8]ページ先頭

©2009-2025 Movatter.jp