| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
|
| |
* Add diagram documentation, add more diagram tests, allow more
customization of diagrams
* Remove accidental edit of unrelated documentation
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Basic framework
* Initial effort
* Clean up and document code
* jinja newline
* Pre-commit, and add extras to tox
* We can't use the class type-annotations syntax in Python 3.5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Expand testQuotedStrings
* Add tests for expr[n] edge cases
* Add ParserElement.ignore(str) test
* Add Regex invalid type test
* Add test for Word with min=0
* Add Char with asKeyword=True test
* Add CharsNotIn tests
* Remove unused __req__ and __rne__
|
|
|
|
| |
vendor pyparsing
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
countedArray (#209)
* Pop counter token and return rest instead of dropping all tokens
* Include only named results from intExpr in countedArray results
* Remove internal Group from countedArray
* Fix operator precedence
* Update countedArray tests
|
|
|
|
| |
of internal import of re with other RE modules such as regex
|
|
|
|
| |
results name, even if listAllMatches was set to False (Issue #205)
|
| |
|
| |
|
|
|
|
| |
Keyword or CaselessKeyword classes due to the presence of a preceding or trailing keyword character. See issue #201.
|
| |
|
|
|
|
| |
instance method on ParseBaseException
|
| |
|
|
|
|
| |
output to break at test comments if any
|
|
|
|
|
|
|
| |
* Tidy docstring formatting for lists and example codeblock
* Add class references and formatting to docstrings
* Experimental docstring formatting changes
|
|
|
|
|
|
|
|
|
| |
This import is currently unused in the file.
I'm looking at optimising start-up times of a project I work on, and
importing pyparsing currently takes about 82ms, which is quite a lot for
my domain. Just not importing `unittest` shaves 14ms off of that import
time.
|
|
|
|
| |
pyparsing_common. Issue #194.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add tests for matchPreviousLiteral - question in comments
* Bug fix - matchPreviousLiteral
One line fix for scanString of matchPreviousLiteral with mulitple
return tokens.
Test still needs to be refactored.
* Demo 3 issues in matchPreviousLiteral and matchPreviousExpr
* Correct mistakes and demonstrate potential matchPreviousExpr issue
* Add nestedExpr unit tests
* Add makeXMLTags unit test
* Add unit tests for oneOf with empty list and int input
|
|
|
|
|
|
|
|
|
| |
* Correct docstring typo in helpers.py
* Remove repetitive imports of pyparsing in tests
* Move repetitive pyparsing_common calls to module level ppc
* Correct docstrings inline code typos
|
| |
|
|
|
|
| |
_ParseResultsWithOffset, and streamline args for ParseResults.__new__
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add unit test for pop with invalid named arg
* Add unit test for setParseAction() with uncallable arg
* Add unit test for __mul__ with negative number
* Add unit test for __mul__ with Ellipsis
* Add unit tests for matchOnlyAtCol
* Add unit tests for convertToDate and converToDatetime
* blacken the new tests
* Add unit test for assertParseAndCheckDict
* Update with feedback from ptmcg
Removed unnecessary imports
Replaced exception prints with ptmcg's assertRaises override
* blacken updates
* Update tests with additional feedback
Change assertRaises(ParseException) to assertRaisesParseException()
Return exception in overrided assertRaises
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* change names of vars
* add `__slots__`
* remove doinit, use `__new__`
* use set, not dict
* black formatting
* shorter names, but keep descriptive names
|
|
|
|
| |
some micro-optimizations when using packrat parsing
|
| |
|
|
|
|
| |
doing `fwd << a | b`; fixed potential FutureWarning when including unescaped '[' in a regex range definition.
|
| |
|
|
|
|
| |
unit test; change TestParseResultsAsserts to mixin instead of subclass; rollforward 2.4.6 CHANGES blurb from 2.4.6 branch
|
|
|
| |
The unicode entities in whiteStr were incorrectly defined, leading to an exception when constructing White instances with these entities.
|
|
* Break up pyparsing.py monolith into sub-modules in a pyparsing package
* Convert relative imports to absolutes
* Reference submodule pyparsing in setup.py modules
* Remove recursive import of pyparsing from setup.py
* Black updates
* setup.py updates - packages vs. modules. use .dev1 for the version
|