May 10, 2012, 11:49 AM
Post #1 of 3
i have below lines of code in my tool (cloc--> code count tool) with which it recognizes blank lines
blank lines regular expression
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.