examples/regex/ignorecase.py
from __future__ import print_function

import re

s = 'Python'

if (re.search('python', s)):
    print('python matched')

if (re.search('python', s, re.IGNORECASE)):
    print('python matched with IGNORECASE')