You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Config file used successfully ─╯
Confirm: You have uncommitted changes. Recommended to commit or stash them first. Continue anyway? y/n [yes]:
y
- You have uncommitted changes, you can use -force parameter in cli or set'force' to truein config file to avoid confirmation)
panic: regexp: Compile(`\>[^#\_\>\^\*\=\@\\{{--]+[A-Za-z0-9][^#\_\>\^\*\=\@\\{{--]+[^#\_\>\^\*\=\@\\{{--]\<\/(.*)\>`): error parsing regexp: invalid character class range: `{--`goroutine 1 [running]:regexp.MustCompile({0xc000220000, 0x5b}) /usr/local/go/src/regexp/regexp.go:317 +0xbbgit.colasdn.top/MaestroError/html-strings-affixer/parsehtml.(*Parsehtml).generateRegex(0xc000063e68) /home/maestroerror/Desktop/html-strings-affixer/parsehtml/parsehtml.go:309 +0x176git.colasdn.top/MaestroError/html-strings-affixer/parsehtml.(*Parsehtml).ExtractText(0xc000063e68) /home/maestroerror/Desktop/html-strings-affixer/parsehtml/parsehtml.go:127 +0x85git.colasdn.top/MaestroError/html-strings-affixer/parsehtml.(*Parsehtml).ParseFile(0xc000063e68, {0xc00001c2c0?, _}, {{0xc000016210, 0x18}, {0xc000112140, 0x1, 0x4}, {0x654630, 0x0, ...}, ...}) /home/maestroerror/Desktop/html-strings-affixer/parsehtml/parsehtml.go:49 +0x9agit.colasdn.top/MaestroError/html-strings-affixer/app.runReplaceCommand() /home/maestroerror/Desktop/html-strings-affixer/app/app.go:180 +0x325git.colasdn.top/MaestroError/html-strings-affixer/app.Start() /home/maestroerror/Desktop/html-strings-affixer/app/app.go:61 +0x96main.main() /home/maestroerror/Desktop/html-strings-affixer/main.go:19 +0x25
Regex parsed it as regexp: invalid character class range: '{--'.
{{-- Comment --}} is a blade comment syntax. It'll be good to update regex to parse correctly and ignore it.
The text was updated successfully, but these errors were encountered:
In the ignore and warnings configuration isn't allowed a group of characters, as it seems, it works only with the single characters. Already noted in Docs ✔️
Here's my config:
I ran replace command and got the result:
Regex parsed it as
regexp: invalid character class range: '{--'
.{{-- Comment --}}
is a blade comment syntax. It'll be good to update regex to parse correctly and ignore it.The text was updated successfully, but these errors were encountered: