Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
axiosgunnar
on Sept 25, 2021
|
parent
|
context
|
favorite
| on:
In search of the perfect URL validation regex (201...
> ⌘\.ws
I guess this is the regex equivalent of overfitting :)
saghm
on Sept 25, 2021
|
next
[–]
Yeah, not to mention "code.google.com" being right in there!
maciejgryka
on Sept 25, 2021
|
prev
[–]
Yeah, grex (the library powering this) is really cool, but doesn’t generalize very well. I’m sure there are ways to improve it, but it’s not a trivial thing to do.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
I guess this is the regex equivalent of overfitting :)