Ignore:
Timestamp:
Aug 13, 2013, 12:16:21 AM (6 years ago)
Author:
ksherdy
Message:

Fixed line counting.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/RE/demo/grep_demo.py

    r3426 r3428  
    191191  # WriteStreamOutput(Output)
    192192        if(options.count):
    193                 print str(pablo.popcount(matches.all_matches))
     193                print str(pablo.PopCount(pablo.MatchStar(matches.all_matches, ~lex.LF) & lex.LF))
    194194        else:
    195195          lgth = len(data)
Note: See TracChangeset for help on using the changeset viewer.