[Pyparsing] negative lookahead problem
Brought to you by:
ptmcg
From: Ken K. <ksk...@gm...> - 2008-06-05 19:15:04
|
In the example at http://pastebin.com/m8248134, I've taken the streetAddressParser.py example and added a failing test to show that the street name grammar is too naive. I've been trying to fix it using negative lookahead.. is this the right general approach? My attempt causes pyparsing to loop endlessly -- any hints? I'm using version 1.5.0. thanks! -Ken |