Commit Graph

38 Commits

Author SHA1 Message Date
5173c86ded remember input string in result 2019-11-28 15:43:52 +01:00
e2fa16706c added .Start and .End to Result 2019-11-28 15:34:30 +01:00
Adam Scarr
3e20a3b924 appease the linting gods 2018-06-11 12:02:50 +10:00
Adam Scarr
981f4347b1 cleanup parseMatcher 2018-06-11 11:33:15 +10:00
Ted Kornish
268bdd51a1 Only skip past hyphens that are truly part of ranges 2018-03-01 11:40:29 -08:00
Ted Kornish
c43616cf3a Don't parse hyphens in Chars() unless escaped 2018-03-01 11:31:45 -08:00
Adam Scarr
0f854720ca Make until only work on string terminators 2017-08-15 18:57:00 +10:00
Adam Scarr
a733d0ae13 Improve debugging output 2017-08-13 19:50:41 +10:00
Adam Scarr
a4677a5834 Clean up autows 2017-08-13 19:27:41 +10:00
Adam Scarr
5716ddb5e7 Pass result in instead of returning 2017-08-13 18:56:23 +10:00
Adam Scarr
0dc37ae5bc Remove a few allocs from Run 2017-08-13 16:56:12 +10:00
Adam Scarr
77930f8f06 Add map shorthand 2017-08-13 13:00:22 +10:00
Adam Scarr
f5b81e8e2e Fix godoc 2017-08-11 00:54:27 +10:00
Adam Scarr
60dd11deee Add go report card 2017-08-11 00:08:08 +10:00
Adam Scarr
945e9f0ef0 Improve cut godoc 2017-08-10 22:10:30 +10:00
Adam Scarr
8a92b5348f Unicode safe by default 2017-08-10 22:06:08 +10:00
Adam Scarr
af542eff9e Add parse logging 2017-08-10 21:08:18 +10:00
Adam Scarr
b64fcfaa61 Add a unicode whitespace parser 2017-08-09 22:14:27 +10:00
Adam Scarr
d285a0badc Fix missing coverage 2017-08-09 21:58:36 +10:00
Adam Scarr
dc3c5a8325 Add a regex parser 2017-08-09 21:43:09 +10:00
Adam Scarr
47badae641 Add godoc 2017-08-09 21:19:41 +10:00
Adam Scarr
8b2f10f238 Rename some things 2017-08-09 19:37:32 +10:00
Adam Scarr
acd48fdfa4 Add readme and calc example 2017-08-08 23:11:47 +10:00
Adam Scarr
73b55459ac Move String to its own file 2017-08-08 19:56:32 +10:00
Adam Scarr
7e6f7ce4cf Reduce string allocations for plain strings 2017-08-08 19:54:34 +10:00
Adam Scarr
b835581a73 complete string implementation 2017-08-08 19:36:32 +10:00
Adam Scarr
4594587e3b More perf tweaks 2017-08-07 22:38:34 +10:00
Adam Scarr
b4f5fb423e Fast single byte matcher 2017-08-07 21:57:12 +10:00
Adam Scarr
88aaf567a5 *Node -> Node 2017-08-07 21:45:12 +10:00
Adam Scarr
132876fce4 Small perf tweaks 2017-08-07 21:38:46 +10:00
Adam Scarr
a656dc0d78 AutoWS 2017-08-07 21:22:54 +10:00
Adam Scarr
cc9d18219a add debugging 2017-08-07 20:07:29 +10:00
Adam Scarr
02103782eb Return Node instead of interface 2017-08-07 18:45:40 +10:00
Adam Scarr
666ea93dba Eliminate a bunch of allocations 2017-08-06 23:32:10 +10:00
Adam Scarr
2c0c5b628f Add String parser 2017-08-06 17:28:34 +10:00
Adam Scarr
a65a9325aa Get the HTML parser working 2017-08-06 17:02:39 +10:00
Adam Scarr
8b343d6360 Clean up Pointer 2017-08-06 15:43:23 +10:00
Adam Scarr
68cde88125 Initial commit 2017-08-06 14:31:35 +10:00