Parsing the output of an unescaping parser? #545
Unanswered
VorpalBlade
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Huh, there is |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using
escaped_transform
to unescape an optionally quoted string:I then want to continue parsing the result of this string, as the now unquoted string contains structured data. Is this something that is supported in winnow, or should I just do it as a second stage after parsing the initial file format?
In some cases I also need to base64-decode it then continue parsing the inner data. This is determined by a modifier to another value much earlier in the same overall entry, (seriously, I'm not kidding, this format is awful). This is only true for the last string on every line. The other ones cannot be base64 at least.
I can imagine this comes up when parsing languages that may contain other (e.g. JS or CSS in a
<script>
tag in HTML etc). So I would assume it is supported somehow?Beta Was this translation helpful? Give feedback.
All reactions