Skip to content

Commit 6ea42cd

Browse files
committed
Merge pull request #10 from Perevedko/patch-2
Update README.md
2 parents adfe682 + ceede64 commit 6ea42cd

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,15 @@ verbal_expression = VerEx()
1616
```python
1717
# Create an example of how to test for correctly formed URLs
1818
verbal_expression = VerEx()
19-
tester = verbal_expression. \
20-
start_of_line(). \
21-
find('http'). \
22-
maybe('s'). \
23-
find('://'). \
24-
maybe('www.'). \
25-
anything_but(' '). \
19+
tester = (verbal_expression.
20+
start_of_line().
21+
find('http').
22+
maybe('s').
23+
find('://').
24+
maybe('www.').
25+
anything_but(' ').
2626
end_of_line()
27+
)
2728

2829
# Create an example URL
2930
test_url = "https://www.google.com"

0 commit comments

Comments
 (0)