Skip to content
This repository was archived by the owner on Apr 10, 2025. It is now read-only.

Conversation

@makafeli
Copy link
Owner

@makafeli makafeli commented Jan 7, 2025

No description provided.

text = text.lower()
words = set(re.findall(
r'\b\w+(?:[-\s.]+\w+)*(?:[-\s.]+(?:framework|lib|lang|db))?\b',
r'\b(?:node\.?js|[a-z]+(?:[-.]?[a-z0-9]+)*(?:\.?js)?)\b',

Check failure

Code scanning / CodeQL

Inefficient regular expression High

This part of the regular expression may cause exponential backtracking on strings containing many repetitions of '0'.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants