File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -389,12 +389,12 @@ def detect(self,
389389 yield author
390390
391391
392- def get_tokens (numbered_lines , splitter = re .compile (r'[\t =;]+' ).split ):
392+ def get_tokens (numbered_lines , splitter = re .compile (r'[\t =;: ]+' ).split ):
393393 """
394394 Return an iterable of pygmars.Token built from a ``numbered_lines`` iterable
395395 of tuples of (line number, text).
396396
397- We perform a simple tokenization on spaces, tabs and some punctuation: =;
397+ We perform a simple tokenization on spaces, tabs and some punctuation: =;:
398398 """
399399 last_line = ""
400400 for start_line , line in numbered_lines :
@@ -3426,8 +3426,8 @@ def build_detection_from_node(
34263426 # by Yukihiro Matsumoto matz@netlab.co.jp.
34273427 # AUTH: {<BY> <NAME>} #2645-3
34283428
3429- # @author anatol@google.com (Anatol Pomazau)
3430- AUTHOR: {<AUTH|CONTRIBUTORS|AUTHS>+ <NN>? <COMPANY|NAME|YR-RANGE>* <BY>? <EMAIL>+ <NAME>?} #2650
3429+ # @author anatol@google.com (Anatol Pomazau) or Author:Frankie.Chu
3430+ AUTHOR: {<AUTH|CONTRIBUTORS|AUTHS>+ <NN>? <COMPANY|NAME|YR-RANGE>* <BY>? <EMAIL>? <NAME>?} #2650
34313431
34323432 # developed by the National Center for Supercomputing Applications at the University of Illinois at Urbana-Champaign
34333433 AUTHOR: {<AUTH|CONTRIBUTORS|AUTHS>+ <NN>? <COMPANY|NAME|NAME-EMAIL|NAME-YEAR>+ <NN>? <COMPANY|NAME|NAME-EMAIL|NAME-YEAR>+ <YR-RANGE>*} #2660
You can’t perform that action at this time.
0 commit comments