[Pyparsing] Check for tabs
Brought to you by:
ptmcg
From: Hanchel C. <han...@br...> - 2013-10-28 20:52:37
|
Hello! I'm new to pyparsing and relatively new to Python as well. I'm really astounded by the multitude of functionality that pyparsing has. My question is pretty basic: I have a string 'name\tdate\t\tlocation'. What would I do to ensure that between the 'name' and 'date' there is exactly one tab and between 'date' and 'location' there is exactly two tabs? Thanks, Hanchel |