Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
benniw
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
benniw
12y ago
Re "compatibility", I was thinking more about the language's library ecosystem, that could benefit from a single official regex implementation that can be relied upon and can be assumed to be known by programmers (when design
2.
▲
by
benniw
12y ago
"more memory and more overhead than e.g. splitting a string by simply scanning it." Regexes are simply scanning strings, they're just a more condensed syntax for specifying how the scanning should be done. And in interprete
3.
▲
by
benniw
12y ago
There are real benefits, they're called convenience and compatibility. And what's wrong with tying a language to a specific regex syntax? After all, you're also tying it top a specific outside-of-regexes syntax. Regexes are