Skip to content

Lutaml integration#119

Draft
andrew2net wants to merge 22 commits intomainfrom
lutaml-integration
Draft

Lutaml integration#119
andrew2net wants to merge 22 commits intomainfrom
lutaml-integration

Conversation

@andrew2net
Copy link
Copy Markdown
Contributor

No description provided.

Comment thread lib/relaton/nist.rb Outdated
# gem_path = File.expand_path "..", __dir__
# grammars_path = File.join gem_path, "grammars", "*"
# grammars = Dir[grammars_path].sort.map { |gp| File.read gp }.join
Digest::MD5.hexdigest Relaton::Nist::VERSION + Relaton::Bib::VERSION # grammars
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line is too long. [85/80]

end

def parse_iteration(stage)
iter = /\w+(?=PD)|(?<=PD-)\w+/.match(stage)&.to_s

Check failure

Code scanning / CodeQL

Polynomial regular expression used on uncontrolled data High

This
regular expression
that depends on a
library input
may run slow on strings with many repetitions of 'a'.
This
regular expression
that depends on a
library input
may run slow on strings with many repetitions of 'a'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants