matthiasblaesing commented on pull request #3393: URL: https://github.com/apache/netbeans/pull/3393#issuecomment-1003172731
I had a look how `canBeMultilinePattern` is used and I think it would be easier and more consistent to modify the regexp `MULTILINE_REGEXP_PATTERN` in `TextRegexpUtil`. The util method is used to determine if a single line in the file is enough for examination or if the whole file needs to be matched. You can already search for multiline patterns, if you use regexp. Enter `\nTEST\n` into the search box and switch to match to "Regular Expression" and you will find only places where `TEST` is the only content in a line. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
