Thank you all for your replies.
I was able to fix it and better understanding grammars :-)
Regards,
David Santiago
Patrick R. Michaud escreveu no dia quinta,
21/05/2020 Ã (s) 21:05:
>
> On Thu, May 21, 2020 at 08:40:08PM +, David Santiago wrote:
> > Can someone explain me why my grammar
On Thu, May 21, 2020 at 08:40:08PM +, David Santiago wrote:
> Can someone explain me why my grammar isn't working? Unfortunately i
> can't figure it out :-(
>
> | headers
> | | header
> | | * MATCH "Proxy-Connection"
> | | header-value
> | | * MATCH "keep-alive\n"
> | | crlf
> | |
On 2020-05-21 David Santiago wrote:
> Can someone explain me why my grammar isn't working? Unfortunately i
> can't figure it out :-(
Mixing ``rule``, ``token``, and ``regex`` apparently at random doesn't
make for a good grammar…
The text at
Hi!
Can someone explain me why my grammar isn't working? Unfortunately i
can't figure it out :-(
Full script attached (42 lines) - the new lines in the script are
always only "\n"
The output:
TOP
| request-line
| | method
| | * MATCH "CONNECT"
| | request-uri
| | * MATCH