Leandro's Notes

/ Home / About
Sun, 11 Sep 2016


This post is a template of the available styles provided by this blog. Point to references is really important to write a good article.

This is a list:

  • item one
  • item two
  • so on

To embed an image:

Of course, code is formatted and beautified:

import re
for test_string in ['555-1212', 'ILL-EGAL']:
    if re.match(r'^\d{3}-\d{4}$', test_string):
        print test_string, 'is a valid US local phone number'
        print test_string, 'rejected'

That's it!

[ Made with Lektor ][ This work is licensed under a Creative Commons Attribution 4.0 International License ]