-
Notifications
You must be signed in to change notification settings - Fork 111
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
Unexpected exception encountered. Regex is "\/\*[{white}|.]*\*\/" #1107
Comments
Attached is the full jflex file. |
GitHub only accepts files with certain extension. I've added |
This does indeed look like a bug, thanks for reporting it. But it's mostly a bug in error reporting (sorry :-)). Enabling the use of macros in character classes like In this case, For fixing your specific problem, it looks like you might be wanting just On the danger of doing your homework for you, there is a pitfall with this: The expression you'd need is |
Hi, as part of school work I'm using jflex to generate a scanner.
I'm trying to write a regex to handle
/* comments */
.This is the error I'm seeing.
This is the regex I'm using
The text was updated successfully, but these errors were encountered: