#regex

[ follow ]
#security
fromgithub.com
1 week ago
Web development

GitHub - JakeRoggenbuck/regolith: A server-side TypeScript and JavaScript library immune to Regular Expression Denial of Service (ReDoS) attacks by using Rust and linear RegEx under the hood. Regolith has a linear worst case time complexity, compared to the default RegExp found in TypeScript and JavaScript, which has an exponential worst case.

fromgithub.com
1 week ago
Web development

GitHub - JakeRoggenbuck/regolith: A server-side TypeScript and JavaScript library immune to Regular Expression Denial of Service (ReDoS) attacks by using Rust and linear RegEx under the hood. Regolith has a linear worst case time complexity, compared to the default RegExp found in TypeScript and JavaScript, which has an exponential worst case.

#japanese-addresses
fromMedium
2 months ago

Solving Coding Challeng: Code Comment Remover-Part 2

"Doc comments are critical in Go as they provide necessary documentation for exported names. Every exported (capitalized) name should have a corresponding doc comment for clarity and usability."
Scala
fromNedbatchelder
3 months ago

Regex affordances

The regex is written in verbose syntax to enhance readability, allowing whitespace and comments, which aids in understanding the structure of the pattern.
fromHackernoon
2 years ago

Refactoring 025 - Decompose Regular Expressions | HackerNoon

"To effectively validate complex structures like URLs, it’s essential to break down the regex into smaller, manageable components that can be tested individually for accuracy."
JavaScript
#javascript
fromGitHub
8 months ago
JavaScript

GitHub - slevithan/oniguruma-to-es: Convert patterns from Oniguruma (the regex flavor used in Ruby, TextMate grammars, etc.) to native JavaScript RegExp

fromGitHub
8 months ago
JavaScript

GitHub - slevithan/oniguruma-to-es: Convert patterns from Oniguruma (the regex flavor used in Ruby, TextMate grammars, etc.) to native JavaScript RegExp

[ Load more ]