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

Multi-line regular expressions parsing #181

Closed
tommai78101 opened this issue Feb 18, 2020 · 2 comments
Closed

Multi-line regular expressions parsing #181

tommai78101 opened this issue Feb 18, 2020 · 2 comments

Comments

@tommai78101
Copy link

It is mentioned in this issue:

atom/language-java#186

Where the RegExp engine, oniguruma, cannot do multi-line regular expressions parsing. I'm wondering if this is the case, and if so, whether there will be additional support for multi-line parsing?

Thanks.

@kkos
Copy link
Owner

kkos commented Feb 19, 2020

I don't know exactly what multi-line you are saying, but it is possible if it simply means searching for a string containing multiple lines.
In any case, you need to show the regular expression pattern, the target character string, and the character encoding.

Are the following old issues relevant?
#11 (comment)

@tommai78101
Copy link
Author

Somewhat.

The issue I referred to was actually referring to something where it's parsing the lines incorrectly and thus applying the Java syntax highlighting incorrectly.

The very original issue came from here: microsoft/vscode#63137

But, given how your old issue mentioned there's a technical limitation, it makes sense.

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

No branches or pull requests

2 participants