summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add convenience assert methods (to parse and check list or dict contents in ↵unittest_integrationPaul McGuire2019-09-263-9/+37
| | | | one go)
* Merge changes from masterPaul McGuire2019-09-263-104/+123
|
* First take on unittest integration methods and classesPaul McGuire2019-09-064-199/+307
|
* Fix simple typo: pyaprsing -> pyparsing (#121)Tim Gates2019-09-031-1/+1
| | | Thanks!
* More codecov changesptmcg2019-09-021-1/+1
|
* Add links to codecov and codecov badge to READMEptmcg2019-09-021-1/+3
|
* Add long_description for setup.py; add py3.8-dev and pypy3 to Travis CI versionsptmcg2019-09-022-1/+4
|
* Update version timestampPaul McGuire2019-09-021-1/+1
|
* Propagate setDefaultWhitespaceChars to helper expressions defined in ↵Paul McGuire2019-09-023-10/+144
| | | | pyparsing module
* Fixed bug when ZeroOrMore parses no matching exprs, did not include a named ↵Paul McGuire2019-08-263-2/+81
| | | | result containing []
* Merge remote-tracking branch 'origin/master'Paul McGuire2019-08-251-9/+11
|\
| * Additional problematic characters when generating re's in Word added to unit ↵ptmcg2019-08-221-9/+11
| | | | | | | | test
* | Make next release 3.0.0 instead of 2.5.0 to reflect Py3-only; fix warning ↵Paul McGuire2019-08-252-7/+8
|/ | | | message; minor improvement when default literal string class is other than Literal; always add extra newline after dump()
* Fix minor bug in creating regex range for single character; add unit testsPaul McGuire2019-08-202-2/+73
|
* Add regex range collapsing to compress large character ranges for faster re ↵Paul McGuire2019-08-182-16/+45
| | | | performance; update CHANGES to reflect new booleansearchparser example
* Minor unit test cleanupsPaul McGuire2019-08-181-5/+11
|
* Update contribution guidelinesPaul McGuire2019-08-181-0/+4
|
* Add Py2 compat code at submitter's request; add non-Western test case; more ↵Paul McGuire2019-08-181-98/+109
| | | | helpful message when tests fail; exit with exit code to include with package tests; trim trailing whitespace
* Add .DS_Store to .gitignore (#115)Cengiz Kaygusuz2019-08-181-0/+5
|
* Boolean Search query parser: allows to perform searches with the common ↵xecgr2019-08-131-0/+394
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | boolean search syntax against a text (#21) * Add files via upload Boolean Search query parser, based on searchparser, that allows to perform searches with the common boolean search syntax against a text (western + non-western alphabets) SAMPLE USAGE: from booleansearchparser import BooleanSearchParser bsp = BooleanSearchParser() text = u"wildcards at the begining of a search term " exprs= [ u"*cards and term", #True u"wild* and term", #True u"not terms", #True u"terms or begin", #False ] for expr in exprs: print bsp.match(text,expr) #non-western samples text = u"안녕하세요, 당신은 어떠세요?" exprs= [ u"*신은 and 어떠세요", #True u"not 당신은", #False u"당신 or 당", #False ] for expr in exprs: print bsp.match(text,expr) * from __future__ import print_function and changing this over to be Python 2/3 compatible * ptmcg conversation issues
* Update example to proto3 syntax (#113)Andrew Artyushok2019-08-131-5/+18
| | | Thanks again for submitting!
* 3.x-ify some print statements and an except (#114)kms708472019-08-131-5/+5
| | | Thanks, and nice catch on the except statement too!
* More Py2 compatibility scrubbing in unit tests, and migration ZeroOrMore to ↵ptmcg2019-08-111-337/+327
| | | | [...] notation
* Remove Py2 compatibility code from unit testsPaul McGuire2019-08-102-217/+128
|
* Rework __diag__ and __compat__ to be actual classes instead of just ↵Paul McGuire2019-08-103-63/+180
| | | | namespaces, to add helpful behavior and methods
* Fixed bug in indentedBlock with a parser using two different types of nested ↵Paul McGuire2019-08-092-7/+45
| | | | indented blocks with different indent values, but sharing the same indent stack. Raised in comments on #87.
* Typo and spelling cleanup, add helpful commentsPaul McGuire2019-08-071-3/+10
|
* Fixed bug in CloseMatch where end location was incorrectly computed; and ↵Paul McGuire2019-08-053-90/+56
| | | | updated partial_gene_match.py example.
* Code style updates; remove deprecated methodsPaul McGuire2019-08-053-144/+147
|
* Remove deprecated methods and names; disabled ↵Paul McGuire2019-08-053-73/+73
| | | | __compat__.collect_all_And_tokens; correct doctests; more minor whitespace cleanup
* First pass removing Py2 cross-compatibility featuresPaul McGuire2019-08-055-571/+231
|
* Improved handling of '-' ErrorStop's when used within EachPaul McGuire2019-08-043-17/+104
|
* Example BigQuery view SQL parser (#112)Michael Smedberg2019-08-041-0/+1510
| | | | Example BigQuery view SQL parser
* fourFn.py updates - handle leading '+' and '-' unary signs for parenthesized ↵Paul McGuire2019-08-042-9/+15
| | | | expressions; and real numbers with no leading digit before the decimal
* Update fourFn.py to handle functions that take multiple args, and nested ↵Paul McGuire2019-08-033-331/+401
| | | | functions
* Typo and whitespace cleanupPaul McGuire2019-08-032-364/+365
|
* Merge pull request #108 from cngkaygusuz/word-docPaul McGuire2019-07-301-28/+37
|\ | | | | Revise ParserElement.parseString docstring
| * Revise ParserElement.parseString docstringCengiz Kaygusuz2019-07-271-28/+37
| |
* | Include new files filetypes and dirs in MANIFEST.inpyparsing_2.4.2Paul McGuire2019-07-291-4/+4
| |
* | Update README to include links to online docs - also remove numerous special ↵Paul McGuire2019-07-291-14/+27
| | | | | | | | characters, smart quotes, etc. for cleaner cross-platform presentation. See Issue #109
* | Updates to prep for 2.4.2 releasePaul McGuire2019-07-284-78/+86
|/
* Fold in 2.4.1.1 blurb from 2.4.1.x branch, describing known issues in 2.4.1.1Paul McGuire2019-07-251-0/+46
|
* Add unit test for #103; also make CHANGES blurb and HowToUse notes a little ↵pyparsing_2.4.2a1pyparsing_2.4.1.1Paul McGuire2019-07-243-2/+32
| | | | clearer
* More accurate description of bugs and their respective fixesPaul McGuire2019-07-241-10/+21
|
* Fixed faux iteration behavior implicit with using __getitem__, found while ↵Paul McGuire2019-07-241-10/+19
| | | | investigating and resolving issue #103
* Merge branch 'pyparsing_2.4.x'Paul McGuire2019-07-236-1260/+1352
|\ | | | | | | | | # Conflicts: # pyparsing.py
| * Version 2.4.2a1 - changing [...] notation to ZeroOrMore, not OneOrMorePaul McGuire2019-07-236-1260/+1352
| |
* | Update version in prep for new 2.5.x workPaul McGuire2019-07-221-2/+2
|/
* Fix latent bug if adding a parse action after having cleared parse actions ↵pyparsing_2.4.1Paul McGuire2019-07-202-2/+6
| | | | with None
* Update coding styles; better comments, attribution of example filePaul McGuire2019-07-201-9/+21
|