updated chapter 4 and appendix-A files

This commit is contained in:
Luciano Ramalho
2020-01-22 22:52:23 -03:00
parent a1d6c125bf
commit 49f52e29c7
25 changed files with 5219 additions and 10 deletions

View File

@@ -1,4 +1,4 @@
# BEGIN RE_DEMO
# tag::RE_DEMO[]
import re
re_numbers_str = re.compile(r'\d+') # <1>
@@ -18,4 +18,4 @@ print(' bytes:', re_numbers_bytes.findall(text_bytes)) # <7>
print('Words')
print(' str :', re_words_str.findall(text_str)) # <8>
print(' bytes:', re_words_bytes.findall(text_bytes)) # <9>
# END RE_DEMO
# end::RE_DEMO[]