750010b71a
Add more tests to regex
2025-03-28 00:28:51 +01:00
294c04a11a
Add more tests for modifycommand
2025-03-28 00:03:23 +01:00
ba7ac07001
Fix up the logs a little
2025-03-27 23:36:56 +01:00
5d10178bf9
Update old and add new tests
2025-03-27 23:33:57 +01:00
bf72734b90
Clean up regex.go a little
2025-03-27 23:04:39 +01:00
cc30c2bdcb
Cleanup
2025-03-27 22:56:42 +01:00
f453079c72
Fix up regex.go
2025-03-27 22:50:15 +01:00
e634fe28bd
Clean up processor
2025-03-27 22:24:59 +01:00
f6def1e5a5
Refactor entirety of replace command to main for now
2025-03-27 22:11:03 +01:00
867b188718
Work out file reading and writing
2025-03-27 22:02:36 +01:00
912950d463
Remove the vestiges of xml and json
2025-03-27 21:31:45 +01:00
25326ea11b
Remove xml and json
...
They are simply not as useful as regex at all
There is nothing they can do regex cannot
And they have one massive penalty: the encoding
Which often results in MASSIVE diffs
2025-03-27 21:28:20 +01:00
df212b7fcc
Remove jsonpath and xpath
2025-03-27 21:27:47 +01:00
f4a963760a
Add dumptable helper function
2025-03-27 20:07:59 +01:00
d236811cb9
Introduce a new logging level for lua values
2025-03-27 20:06:50 +01:00
da93770334
Add strsplit lua helper
2025-03-27 19:56:31 +01:00
dc8da8ab63
Fix overlapping capture groups
2025-03-27 19:43:06 +01:00
e847e5c3ce
Make little better logging
2025-03-27 18:53:02 +01:00
9a70c9696e
Fix logger
2025-03-27 18:46:28 +01:00
9cea103042
Implement a more better logging solution
2025-03-27 17:53:43 +01:00
81d8259dfc
Comment out some xml tests for now
...
We're not working on it for now
2025-03-27 17:46:43 +01:00
3e818e61c7
Add string.format shortcut to lua
2025-03-27 15:38:07 +01:00
d88a76c4e2
Fix logging of groups
2025-03-26 22:26:02 +01:00
d3a1f1bd96
Rework regex grouping to avoid changing the same area twice
2025-03-26 22:24:19 +01:00
07a5f3f1a4
Add replaceCommands to avoid index suicide
2025-03-26 21:55:34 +01:00
b3fce4244d
Fix regex for numbers to support negative numbers
2025-03-26 18:30:21 +01:00
bd443067b6
Add support for !num inside of named capture groups
2025-03-26 14:04:39 +01:00
a9b6f7f984
Implement printing from lua
2025-03-26 13:37:39 +01:00
10c39b02a0
Fix some regex tests
2025-03-26 13:13:53 +01:00
7f4392b10e
Implement "replacement" variable that simply replaces the match
2025-03-26 13:00:52 +01:00
7e19cf4e2c
Rework named captures to be array
...
To comply with the whole reverse replacing
2025-03-26 12:50:55 +01:00
c5fb20e96a
Implement named capture groups
2025-03-26 12:28:28 +01:00
a8c2257f20
Add named capture group tests
2025-03-26 12:17:01 +01:00
b63b4d1352
Add some more shorthands for regex
2025-03-26 12:06:04 +01:00
6a3d44ccd0
Redo what claude removed
2025-03-26 11:42:00 +01:00
2c7a4f5d97
Add a lot more logs to regex
...
What the fuck is going on?
2025-03-26 03:30:08 +01:00
bb14087598
Fix oopsie
2025-03-26 02:52:28 +01:00
66a522aa12
Try to include xml node children in lua table
2025-03-26 02:50:33 +01:00
1a4b4f76f2
Map the weird numeric escapes to textual ones
2025-03-26 02:34:21 +01:00
2bfd9f951e
Fix up some more xml tests and other small bugs
2025-03-26 02:17:42 +01:00
e5092edf53
Implement parsing xml to and from lua
...
A lot more complex than json.........
2025-03-26 01:36:49 +01:00
e31c0e4e8f
Implement xpath (by calling library)
2025-03-26 01:19:41 +01:00
73d93367a0
Refactor some things around a little
2025-03-25 23:16:03 +01:00
d5c08d86f5
Code polish
2025-03-25 19:22:44 +01:00
68127fe453
Add more json tests
...
To bring it in line with the xml ones
2025-03-25 19:22:07 +01:00
872f2dd46d
Fix another changed test for json
2025-03-25 19:16:09 +01:00
4eed05c7c2
Fix some more minor bugs and tests
2025-03-25 19:14:21 +01:00
4640281fbf
Enable root modifications
...
Though I can not see why you would want to.....
But there's no reason you would not be able to
2025-03-25 18:57:32 +01:00
aba10267d1
Fix more tests
2025-03-25 18:47:55 +01:00
fed140254b
Fix some json tests
2025-03-25 18:32:51 +01:00