Work out file reading and writing

This commit is contained in:
2025-03-27 22:02:36 +01:00
parent aac29a4074
commit 867b188718
3 changed files with 39 additions and 29 deletions

View File

@@ -90,11 +90,6 @@ type CaptureGroup struct {
Updated string
Range [2]int
}
type ReplaceCommand struct {
From int
To int
With string
}
// ProcessContent applies regex replacement with Lua processing
func (p *RegexProcessor) ProcessContent(content string, pattern string, luaExpr string) (string, int, int, error) {