-
-
Save NaeosPsy/12d328fc646e36c92d870744ab673eb5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
escaped_value = | |
ignore(string("\"")) | |
|> utf8_string([not: ?"], min: 0) | |
|> repeat((string("\"\"")) |> utf8_string([not: ?"], min: 0)) | |
|> ignore(string("\"")) | |
|> reduce({Enum, :join, [""]}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment