fork download
  1. import re
  2.  
  3. r = re.compile(r'\argentina\b')
  4. print(r.search('argentina')) # None
  5.  
  6. # chr(0x07) corresponde ao \a (BELL character)
  7. print(r.search(chr(0x07) + 'rgentina')) # Match
Success #stdin #stdout 0.03s 9496KB
stdin
Standard input is empty
stdout
None
<re.Match object; span=(0, 9), match='\x07rgentina'>