dmgerman / ninka

a license identification tool for Source Code
http://ninka.turingmachine.org
GNU General Public License v2.0
103 stars 30 forks source link

Fix unescaped braces warnings #37

Closed dktrkranz closed 1 year ago

ulm commented 5 years ago

Matching of literal braces will get rid of the warning, but doesn't look right. More likely, the intention was to match one or two digits with [0-9]{1,2}+, i.e., the hyphen should be a comma.

PR #41 seems to contain a more correct fix.