| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
action
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@299 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@298 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
duplicate
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@297 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
to runTests; improved exception messages for MatchFirst and Or exceptions.
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@296 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@294 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
significant (suggested by williamzjc)
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@291 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
|
| |
the common but annoying case when defining a filter on a div's class -
made difficult because 'class' is a Python reserved word.
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@289 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@288 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
expression against a series of sample input strings
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@287 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
per suggestions from Williamzjc - thanks William! (Oh yeah, I'm not supporting Python 2.3 with this code any more...)
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@285 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
are purely filters.
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@284 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
an unnamed array of sub-structure results.
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@281 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
- enhanced version of replaceWith
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@280 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
types from parse actions that implement __eq__.
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@276 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@275 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
names are defined for a given level of a nested parse result
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@273 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@272 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@271 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@270 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
improvements were made in last release
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@269 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
|
|
| |
marks (or characters designated as quotation marks in the QuotedString
constructor) would be escaped. Now all escaped characters will be
escaped, and the escaping backslashes will be removed.
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@268 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@265 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@264 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
local/nonlocal reference problems
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@263 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
|
|
|
|
|
| |
arguments, to now accept generators as well.
- Extended list-like behavior of ParseResults, adding support for append and extend. NOTE: if you have existing applications using these names as results names, you will have to access them using dict-style syntax: res["append"] and res["extend"]
- ParseResults emulates the change in list vs. iterator semantics for methods like keys(), values(), and items(). Under Python 2.x, these methods will return lists, under Python 3.x, these methods will return iterators.
- ParseResults now has a method haskeys() which returns True or False depending on whether any results names have been defined. This simplifies testing for the existence of results names under Python 3.x, which returns keys() as an iterator, not a list.
- ParseResults now supports both list and dict semantics for pop(). If passed no argument or an integer argument, it will use list semantics and pop tokens from the list of parsed tokens. If passed a non-integer argument (most likely a string), it will use dict semantics and pop the corresponding value from any defined results names. A second default return value argument is supported, just as in dict.pop().
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@262 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
Removed deprecation of '<<' operator
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@260 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@258 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
accept "expr()" as a shortcut for "expr.copy()".
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@256 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@255 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
|
|
| |
Python 3.x versions.
Fix bug in <<= operator, added 'return self'.
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@254 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
future TypeErrors get correctly raised and don't continue to try updating the argcount
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@252 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@251 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@247 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
print as a function in debug routines; remove unnecessary list comprehensions
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@245 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@244 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
arguments to infixNotation
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@239 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@226 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|