summaryrefslogtreecommitdiff
path: root/pyparsing.py
Commit message (Collapse)AuthorAgeFilesLines
* Backport FutureWarning fix (regex with nested set), and runTests reformatpyparsing_2.4.7ptmcg2020-03-291-4/+4
|
* Fix regexen in pyparsing_common.real and .sci_real (Issue #194)ptmcg2020-03-231-2/+2
|
* Py2 exceptions need special checks for presence of __traceback__ptmcg2020-03-071-5/+10
|
* Selected backports from 3.0.0 workptmcg2020-03-061-9/+21
|
* Fix left-assoc ternary operator in infixNotation; fix White \u string typos; ↵Paul McGuire2019-12-231-21/+204
| | | | backport pyparsing_test from 3.0
* Updates for 2.4.5 release - bump version and timestamppyparsing_2.4.5ptmcg2019-11-091-2/+2
|
* Unresolved symbol reference in 2.4.3 release was masked by stdout buffering ↵Paul McGuire2019-11-051-3/+3
| | | | in unit tests
* Updates for 2.4.3 releasepyparsing_2.4.3ptmcg2019-11-031-1/+1
|
* indentedBlock loop forever bugPaul McGuire2019-10-211-3/+3
|
* Remove reference to overriding imported re with regex module for nowPaul McGuire2019-10-211-12/+3
|
* Backport support for 3rd party regex modulePaul McGuire2019-10-131-6/+24
|
* Backport changes from 3.0.0 to fix PrecededBy bug (Issue #127)Paul McGuire2019-10-131-5/+5
|
* Test first, then commitptmcg2019-09-251-27/+8
|
* Revert Word perf enhancement, not Py2-friendlyptmcg2019-09-251-10/+10
|
* Backport of __diag__.enable_all_warnings and Word perf enhancement from ↵ptmcg2019-09-251-19/+44
| | | | 3.0.0 dev branch
* Fixed bug in ParserElement.__eq__, addresses issue #123ptmcg2019-09-251-9/+7
|
* Manually merge 2.4.2 changes from master back to 2.4.x branchPaul McGuire2019-08-021-25/+42
|
* Fix latent bug if adding a parse action after having cleared parse actions ↵pyparsing_2.4.1Paul McGuire2019-07-201-2/+2
| | | | with None
* Add CONTRIBUTING.md guidelines; code and whitespace cleanupPaul McGuire2019-07-151-948/+966
|
* Update `__eq__` to Py2/Py3 compatPaul McGuire2019-07-131-2/+5
|
* Some code cleanup based on inspection reportsPaul McGuire2019-07-131-4/+8
|
* Some performance refinements, pre-resolving re.match to re_match attribute, ↵Paul McGuire2019-07-131-31/+52
| | | | overriding current class with a class with optimized parseImpl()
* Simplify from_dict signature, support nested dict -> nested ParseResultsPaul McGuire2019-07-111-14/+20
|
* Add include_list optional arg to ParseResults.dump(); make Optional default ↵Paul McGuire2019-07-101-9/+27
| | | | singleton class-local
* Add new module symbols to __all__Paul McGuire2019-07-091-2/+3
|
* Cleaned up CHANGES to accurately describe the pre/post 2.3.0 bugfix ↵Paul McGuire2019-07-091-13/+31
| | | | behavior; added file argument to runTests; added conditionAsParseAction helper
* Add __diag__ namespace to enable diagnostic switches; add asKeyword optional ↵Paul McGuire2019-07-081-28/+122
| | | | arg for oneOf to emit Keyword expressions instead of Literals
* Nicer looking found string if fail on backslashPaul McGuire2019-07-081-1/+1
|
* Augment ParseException str() output to include what character was found at ↵Paul McGuire2019-07-071-3/+10
| | | | the error location, to help diagnose errors.
* Add ParseResults.from_dict classmethod, for easy construction outside of ↵Paul McGuire2019-07-071-1/+24
| | | | parseString
* Add support for multiple '...' skips in a single expression; `_skippped` ↵Paul McGuire2019-07-061-8/+10
| | | | results name will always return a list of skipped items
* Add support for "(expr | ...)" as a form of "on-error, skip" notationptmcg2019-07-051-54/+85
|
* Further mods to `Forward.__str__` to possibly address memory issues reported ↵ptmcg2019-07-051-6/+9
| | | | in #85 and #91, and also does not stomp on user-defined expression names
* Slight mod to `Forward.__str__` to possibly address memory issues reported ↵ptmcg2019-07-051-4/+4
| | | | in #91
* Minor code changes in runTestsptmcg2019-07-041-19/+20
|
* Add support for ... as short cut for SkipTo in And, and for repetition as ↵Paul McGuire2019-07-031-10/+97
| | | | OneOrMore and ZeroOrMore; fix PY2 test bug in unitTests.py
* Issue #93 - interaction of Or and addCondition sometimes selects alternative ↵Paul McGuire2019-07-021-23/+46
| | | | that is not the longest
* Fix up changes to parse reals without leading digits before the decimal, and ↵Paul McGuire2019-06-291-3/+3
| | | | add unit tests
* Merge remote-tracking branch 'origin/master'Paul McGuire2019-06-291-2/+2
|\
| * Support for omitted integer part of the float number (#98)Paul McGuire2019-06-291-2/+2
| |\ | | | | | | | | | | | | | | | * Added support for omitted integer part of the float number * Added support for omitted integer part in sci_real numbers
| | * Added support for omitted integer part in sci_real numbersAndrey Sobolev2019-06-141-1/+1
| | |
| | * Added support for omitted integer part of the float numberAndrey Sobolev2019-06-121-1/+1
| | |
* | | Add support for expr.setParseAction(None) to clear all parse actionsPaul McGuire2019-06-291-3/+11
|/ /
* | Fix runTests to output results if post_parse returns NonePaul McGuire2019-06-291-1/+3
| |
* | Fix issue #87, regression in indentedBlockPaul McGuire2019-06-291-8/+11
| |
* | Fix typo: "the the" (#99)Jon Dufresne2019-06-291-1/+1
|/
* Add better help directing to ParseResults as the return type for ↵Paul McGuire2019-06-051-1/+7
| | | | ParserElement.parseString
* Fix runTests output bug introduced in d2332c95675d71c10605eaf00b1171ef11d0970dPaul McGuire2019-06-021-3/+6
|
* Updated runTests to call postParse before dumping parsed results; added ↵Paul McGuire2019-05-261-3/+5
| | | | nested_markup.py and updated delta_time.py (renamed from deltaTime.py) examples
* Additional useful kwargs for Char (passthru to Word)Paul McGuire2019-04-071-3/+4
|