File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -389,12 +389,12 @@ def detect(self,
389
389
yield author
390
390
391
391
392
- def get_tokens (numbered_lines , splitter = re .compile (r'[\t =;]+' ).split ):
392
+ def get_tokens (numbered_lines , splitter = re .compile (r'[\t =;: ]+' ).split ):
393
393
"""
394
394
Return an iterable of pygmars.Token built from a ``numbered_lines`` iterable
395
395
of tuples of (line number, text).
396
396
397
- We perform a simple tokenization on spaces, tabs and some punctuation: =;
397
+ We perform a simple tokenization on spaces, tabs and some punctuation: =;:
398
398
"""
399
399
last_line = ""
400
400
for start_line , line in numbered_lines :
@@ -3426,8 +3426,8 @@ def build_detection_from_node(
3426
3426
# by Yukihiro Matsumoto matz@netlab.co.jp.
3427
3427
# AUTH: {<BY> <NAME>} #2645-3
3428
3428
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
3431
3431
3432
3432
# developed by the National Center for Supercomputing Applications at the University of Illinois at Urbana-Champaign
3433
3433
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