about summary refs log tree commit diff stats
path: root/src/utils/charcategory.nim
Commit message (Collapse)AuthorAgeFilesLines
* url, twtstr: correct number parsingbptato2024-04-181-0/+1
| | | | | | | | | * do not use std's parse*Int; they accept weird stuff that we do not want to accept in any case * fix bug in parseHost where a parseIpv4 failure would result in an empty host * do not use isDigit, isAlphaAscii * improve parse*IntImpl error handling
* charcategory: move out isDigitAsciibptato2023-12-141-5/+0
| | | | so we do not have to import unicode
* break up twtstr somewhatbptato2023-12-131-0/+16
Avoid computing e.g. charwidth data for http which does not need it at all.