2 ms·
'Using a single language to do everything' could be argued on the software side as well. It might be possible that s-expressions/style would would really well
by jariel 6y ago
'Using a single language to do everything' could be argued on the software side as well.
It might be possible that s-expressions/style would would really well for regex, but nobody has really gone through the effort to do it.
Where I think regexes don't do so well is with UTF and (Grapheme clusters, true word boundaries) and also it's confusing the difference between match/capture/ignore etc..
I'll bet if you really put your mind to it creatively, you might be able to come up with a novel/new approach that wasn't really tried before ... but even if was 'better' it wouldn't catch on for a while (or never) unless there were some big, institutional backers.