Re: [Tutor] checking if regex in pattern

2012-11-11 Thread Norman Khine
ok, i think i have it On Sun, Nov 11, 2012 at 10:48 AM, Norman Khine wrote: > hello, > > i have this code > import re import BeautifulSoup matcher = re.compile(r"""Origine :<\/strong><\/label>(.*)<\/p>""") mystring = """ Les garanties : >>> /> Les garanties >>

[Tutor] checking if regex in pattern

2012-11-11 Thread Norman Khine
hello, i have this code >>> import re >>> import BeautifulSoup >>> matcher = re.compile(r"""Origine >>> :<\/strong><\/label>(.*)<\/p>""") >>> mystring = """ Les garanties >>> : >>> Les garanties : >>> >>> Origine : Burkina Faso, Cercle des Sécheurs >>> Origin