
devi
Novice
May 10, 2012, 11:49 AM
Post #1 of 3
(17673 views)
|
blank lines regular expression
|
Can't Post
|
|
i have below lines of code in my tool (cloc--> code count tool) with which it recognizes blank lines filter remove_matches ^\s*// but, i want to tell the tool that if a any line contains less than 2 characters then it should consider that line as Blank line. How can modify the above regular expression to consider a line as blank line if it contains less than 2 characters.
|