#regex

[ follow ]
JavaScript
frompawelgrzybek.com
1 month ago

What's new in ECMAScript 2025 | pawelgrzybek.com

ES2025 introduces new features such as enhanced regex capabilities, improved Set methods, subexpression modifiers, and a new import type attribute.
fromgithub.com
2 weeks ago

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.

Regolith is a server-side library that provides a safe Regex alternative in TypeScript and JavaScript, protecting against Regular Expression Denial of Service (ReDoS) attacks.
Web development
#japanese-addresses
Scala
fromMedium
3 months ago

Solving Coding Challeng: Code Comment Remover-Part 2

Implementing Go-style comments involves preserving doc comments while removing non-doc comments using regex.
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

Breaking down complex regex improves error reporting and maintainability.
Individual testing of regex components leads to clearer error messages.
JavaScript
fromGitHub
8 months ago

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

Oniguruma-To-ES enables the use of Oniguruma regex features in JavaScript, enhancing cross-environment compatibility and performance.
[ Load more ]