[ragel-users] Nested parsing
yogieric at mac.com
Tue Feb 9 15:20:34 PST 2010
I'm trying to look for URLs embedded in email messages. However, the email messages themselves may be base64 or quoted-printable encoded. I could just decode the base64 or quoted-printable into one buffer and then search for URLs. Email messages can be large and I could do it in blocks of data intermittently resuming parsers, etc. I also thought of using the getkey statement and decoding the base64 or quoted-printable that way, but documentation says this could be called more than once per character. Is there any easier way to chain 2 parsers like this?
More information about the ragel-users