Does regex search support multi-line? #9278
Answered
by
gorzell
Ldoppea
asked this question in
Code Search and Navigation
-
Hi, I'm trying to search a code pattern that may be multi-line. I want to search some methods with specific parameter combination, but those parameters can be on one single line or on multiple lines. Having Is that scenario possible with the new search engine? |
Beta Was this translation helpful? Give feedback.
Answered by
gorzell
Dec 28, 2021
Replies: 1 comment 1 reply
-
Multi-line regex is supported. For example if you have a query like |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
gorzell
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Multi-line regex is supported. For example if you have a query like
/import os\n.*OptionParser/
you get the expected results. Although at the moment it looks like the highlighting might be off.