I can’t figure out how to make the regular expression match stop at the end of the line at the end of the file in VS Code? Is this a limitation of the tool, or is there some kind of pattern that I don't know about?
It seems that CR does not match [\s\S] . Add \r to this character class:
[\s\S]
\r
[\s\S\r]+
will match any 1+ characters.
Source: https://habr.com/ru/post/1013161/More articles:Unable to pull APK from Android device using adb - adbHow to search using a template in VIM - vimIonic2 close fab menu at the touch of a button - angularVS Code - space before function parentheses - visual-studio-codeHow to echo all values from an array in bash - arraysProcessing input event "wheel" was delayed for xxx-ms due to the fact that the main thread is busy - javascriptHow to create a single dotnet kernel executable - .netForeground thread does not stop the console process from completing? - multithreadingfluent-ffmpeg from an array of input files - node.jsServerless Computing on Windows in AWS - amazon-web-servicesAll Articles