Trivial split for strings with quotes and escaped characters
Project description
Trivial split for strings with quotes and escaped characters
Installation
pip install tssplit
Usage
from tssplit import tssplit
tssplit('--:--;--,--"--/--"--\'--:--\'--/"--^--', quote='"\'', delimiter=':;,', escape='/^', trim='')
['--', '--', '--', '----/------:----"----']
Changelog
- 2020.03.28 v1.0 Initial release
- 2020.03.28 v1.0.1 Many quick fixes to make all things work in PyPI
- 2020.03.29 v1.0.2 Minor fixes, Readme update, Long description provided
- 2020.03.29 v1.0.3 Trim option to strip() characters from chunks
- 2020.03.29 v1.0.4 Multiple characters for quotes, delimiters and escapes
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tssplit-1.0.4.tar.gz
(2.3 kB
view hashes)