Ignore:
Timestamp:
Aug 2, 2013, 2:14:03 PM (6 years ago)
Author:
ksherdy
Message:

Added popcount.

File:
1 edited

Legend:

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

    r3423 r3424  
    186186        Match(lex, matches)
    187187
    188         print str(pablo.popcount(matches))
     188
     189        print pablo.popcount(matches.all_matches)
    189190
    190191        MatchLines1(lex, matches, lines)
     
    192193
    193194        if(options.count):
    194                 pass # CountMatchLines
     195                pablo.popcount(matches.all_matches)
    195196        else:
    196197    # WriteStreamOutput(Output)
Note: See TracChangeset for help on using the changeset viewer.