Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WISH: beginning of line regexp for ocamllex #8353

Closed
vicuna opened this issue Oct 31, 2003 · 1 comment
Closed

WISH: beginning of line regexp for ocamllex #8353

vicuna opened this issue Oct 31, 2003 · 1 comment

Comments

@vicuna
Copy link

vicuna commented Oct 31, 2003

Original bug ID: 1910
Reporter: administrator
Status: acknowledged
Resolution: open
Priority: normal
Severity: feature
Category: tools (ocaml{lex,yacc,dep,debug,...})

Bug description

It appears that Ocamllex does not support the "^r" pattern (found in Flex
at least) that matches the beginning of line. This is very useful for
example in a case where you want to parse the C preprocessor # line
directive.

Emulating this by hand with more complex lexers is kinda awkward.

Best regards,
Janne Hellsten

@mshinwell
Copy link
Contributor

Still not implemented nearly 17 years later, so closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants