| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@374 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
constraints
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@373 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@371 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
Also fixed minor blip in originalTextFor, to inherit ignored exprs from the embedded expression.
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@369 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
Cleaned up expression naming in pyparsing_common
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@368 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@367 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
|
|
|
| |
Add pyparsing_common helpers convertToDate and convertToDatetime
Add named regex fields to iso8601_date and iso8601_datetime
Fix pyparsing_common method stripHTMLTags
Corresponding cleanups in unittests
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@364 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@363 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@362 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@361 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@360 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
literalStringClass to _literalStringClass throughout
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@358 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@357 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@356 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
|
|
| |
tests; always return success,results tuple
revamp unitTests to use new failureTests arg
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@355 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@354 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
(including long, short, and mixed forms of IPv6; MAC address; ISO8601 date and date time strings
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@353 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@350 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
unit test for runTests
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@348 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@347 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
|
|
| |
action's name for the trace output
Some rework of unitTests.py, to simplify test suite building
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@346 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@345 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
|
|
|
|
| |
matches() method.
Added support for embedded comments in test string passed to runTests. Reworked embedded tests to include comments.
Added 'pyparsing_common' class containing common/helpful little expressions. Added embedded demonstration tests.
Reworked extraction of system.version for Py2/3-specific processing.
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@344 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@341 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@340 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
3.0, so earlier Py3 versions use data as-is from traceback module
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@339 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@336 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
expressions (dblQuotedString, sglQuotedString, and quotedString)
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@335 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
out the source code), replaced using traceback module extract_stack/extract_tb calls.
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@334 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@332 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@331 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
characters to their whitespace counterparts; added support in new init arg, convertWhitespaceEscapes.
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@330 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
converted to dicts, even if they were just unkeyed lists of tokens.
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@329 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@328 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
obj.__dict__ with vars(obj) (several places); tightened up unit tests for SkipTo
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@327 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
no-longer-used method getTokensEndLoc (was part of keepOriginalText, previously deprecated and deleted).
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@326 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
originalTextFor using sliced assignment
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@325 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
to reduce exception-based flow of control (using new ParserElement.canParseNext); made toklist a default arg so ParseResults can now be constructed using an empty constructor; fleshed out some docstrings with parameter lists
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@322 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
updated examples to remove those symbols, and to replace operatorPrecedence with infixNotation
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@320 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@319 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
protocol in Py3 is 3)
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@318 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
|
|
| |
to dicts.
Fixed ParseResults.__radd__ to return other+self if not adding to 0.
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@315 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
and those raised during internal arity testing
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@313 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@312 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
name and error message overhead during parsing
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@311 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
a string literal as the ignore expression.
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@306 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
output of ParseResults instance dirs.
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@305 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@304 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
MatchFirst, handling Unicode values in expressions. Fixes Unicode encoding issues in Python 2.
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@303 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
issues during streamlining
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@302 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|