Skip to content

Commit bd93edd

Browse files
committed
Fix broken Markdown headings
1 parent 9ca4421 commit bd93edd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,22 +33,22 @@ test_url = "https://www.google.com"
3333
if tester.match(test_url):
3434
print "Valid URL"
3535

36-
#Print the generated regex
36+
# Print the generated regex
3737
print tester.source() # => ^(http)(s)?(\:\/\/)(www\.)?([^\ ]*)$
3838
```
3939
### Replacing strings
4040
```python
41-
#Create a test string
41+
# Create a test string
4242
replace_me = "Replace bird with a duck"
4343

44-
#Create an expression that looks for the word "bird"
44+
# Create an expression that looks for the word "bird"
4545
expression = VerEx().find('bird')
4646

47-
#Execute the expression in VerEx
47+
# Execute the expression in VerEx
4848
result_VerEx = expression.replace(replace_me, 'duck')
4949
print result_VerEx
5050

51-
#Or we can compile and use the regular expression using re
51+
# Or we can compile and use the regular expression using re
5252
import re
5353
regexp = expression.compile()
5454
result_re = regexp.sub('duck', replace_me)

0 commit comments

Comments
 (0)