You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`r$'
an r, but only at the end of a line (i.e., just before a newline). Equivalent to "r/\n".
Note that flex's notion of "newline" is exactly whatever the C compiler used to
compile flex interprets '\n' as; in particular, on some DOS systems you must
either filter out \r's in the input yourself, or explicitly use r/\r\n for "r$".
I was testing to write an HTTP parser where end of line is used to delimiter headers, etc. ^ and $ are very convenient in those cases.
just tried to use jison, and this got me lost for hours.
$ doesn't seem to work.
jison documentation points to bison, where $ is widely used.
in the samples here the \n+ is been used instead.
The text was updated successfully, but these errors were encountered: