/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

saeedesmaili.com
| | joshua.hu

Regular expressions are rarely the solution, but sometimes they can be helpful. I recently needed to create some regex which could be used to parse real domain names, and finding a definitive expression seemed to be difficult; especially one that wasn't vulnerable to ReDoS.
5.0 parsecs

Travel
| |
| | drewdevault.com

[AI summary] The post argues that regular expressions are often unmaintainable and insufficient for complex validations like URLs, advocating instead for standard library parsers like `urlparse`.
1.8 parsecs

Travel
| |
| | nickjanetakis.com

We'll go over the code powering a CLI tool using only the Python 3 standard library and cover a few programming patterns along the way.
4.5 parsecs

Travel
| |
| | v8project.blogspot.de

JavaScript regular expressions are getting some new functionality: lookbehind assertions.
27.8 parsecs

Travel
|