Closed Diogo-Rossi closed 2 years ago
Never mind, I just figure it out.
I'll put here for reference
{
"beginRegex": "((^\\s*)\\d.*$)",
"nested": false,
"bypassProtection": true,
"endRegex": "^(?!(^\\s*)\\d.*).*$",
"foldLastLine":false
}
I'd like to fold sequences of lines that starts with numbers, which may represent tables in the text file.
I've tried some regex but none made it right. Can someone help?
Thank you
Code Example
Possible Expected result