aboutsummaryrefslogtreecommitdiff
path: root/src/utils/parse.py
Commit message (Collapse)AuthorAgeFilesLines
* utils.parse.timed_args() min_args should be optionalGravatar jesopo2020-01-241-1/+1
|
* sort variable $names descending so longer ones are caught firstGravatar jesopo2020-01-031-0/+4
|
* actually replace "$$" with "$"Gravatar jesopo2019-12-271-0/+4
|
* `i` should shift righwards also when finding double sigilGravatar jesopo2019-12-271-2/+2
|
* simplify token replace, catch one-char end-of-string tokensGravatar jesopo2019-12-211-10/+6
|
* implement standardised $token replacement in utils.parseGravatar jesopo2019-12-211-0/+31
|
* Revert "add utils.parse.shortencode() and utils.parse.shortdecode - ↵Gravatar jesopo2019-12-061-45/+1
| | | | | | effectively base62" This reverts commit e71f3bbc36eba8abf616d93fde48cba66b3749f1.
* add utils.parse.shortencode() and utils.parse.shortdecode - effectively base62Gravatar jesopo2019-12-061-1/+45
|
* move "+5m" syntax parsing out to utils.parseGravatar jesopo2019-11-181-0/+11
|
* split some stuff out of utils/__init__.pyGravatar jesopo2019-11-151-1/+27
|
* utils.parse doesn't need to import utilsGravatar jesopo2019-10-291-1/+0
|
* refactor multi-line-to-line normalisation to utils.parse.line_normalise(), ↵Gravatar jesopo2019-10-101-0/+5
| | | | | | use it in rss.py closes #174
* add utils.parse.try_int() because .isdigit() isnt good enoughGravatar jesopo2019-09-261-0/+6
|
* Fix utils.parse.hashflags type hintsGravatar jesopo2019-05-251-3/+4
|
* Don't store hashflags as a dict before returning them - allow duplicate keysGravatar jesopo2019-05-251-3/+3
|
* Add a way to not put spaces between docstring lines when stripping \nGravatar jesopo2019-05-181-5/+10
|
* Fix type annotations for utils.parse.keyvalueGravatar jesopo2018-11-111-2/+3
|
* Filter out empty items in utils.parse.keyvalueGravatar jesopo2018-11-081-1/+1
|
* Clarify `items` and `var_items` typing in src.utils.parseGravatar jesopo2018-11-051-3/+4
|
* Add src.utils.parse.keyvalue, mostly for IRCv3 CAP negotiationGravatar jesopo2018-11-051-0/+10
|
* Add type/return hints throughout src/ and, in doing so, fix some cyclicalGravatar jesopo2018-10-301-0/+57
references.