Skip to content

Commit

Permalink
kbs: report numbers update
Browse files Browse the repository at this point in the history
* Add new often cited report numbers, found with
invenio-scripts/unrecognized_report_numbers.py

* Relax patterns to allow dropping leading 0

* Replace all ' ' patterns by 's' to allow additional spaces

* Cosmetic improvement: align second column

Signed-off-by: Micha Moskovic <michamos@gmail.com>
  • Loading branch information
michamos committed Nov 18, 2016
1 parent e426e7d commit 18687e2
Show file tree
Hide file tree
Showing 2 changed files with 182 additions and 50 deletions.
1 change: 1 addition & 0 deletions refextract/references/kbs.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ def institute_num_pattern_to_regex(pattern):
simple_replacements = [
('9', r'\d'),
('9+', r'\d+'),
('9?', r'\d?'),
('w+', r'\w+'),
('a', r'[A-Za-z]'),
('v', r'[Vv]'),
Expand Down
Loading

0 comments on commit 18687e2

Please sign in to comment.