Skip to content

Unicode escape sequences are not reqular#86

Open
ripdajacker wants to merge 1 commit intomwanji:masterfrom
ripdajacker:master
Open

Unicode escape sequences are not reqular#86
ripdajacker wants to merge 1 commit intomwanji:masterfrom
ripdajacker:master

Conversation

@ripdajacker
Copy link

The project used a regular expression to parse unicode escapes, but this falls short when you have a windows path in a value:

key = "c:\\\\Users"

I rewrote the unescaping by hand and it fixes the issues.

AmberIsFrozen added a commit to AmberIsFrozen/PW-GUI that referenced this pull request Jan 28, 2025
mwanji/toml4j#86

Either way toml writing/parsing on java is not really in a good state...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant