[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: 1748655384094259.png (188 KB, 400x300)
188 KB
188 KB PNG
>me face when in many regex engines \w is only ASCII so á is not treated as a word character
>>
>>106789679
Third world languages need not apply
>>
you have some dirt on your a, that's why it isn't working. here, i'll clean it off: a
>>
>>106789730
easy fix, homeboi
(?!\w)
>>
wait, no one has made an utf-8 version of regex yet?
>>
>>106789859
There is
/\w+/gu

OP is just an idiot who got filtered
>>
>>106789679
Fuck REGEX, stop using REGEX. And fuck UNIX.
>>
>hates regex, c and unix
>posts chatgpt generated image
How low can /g/ go?
>>
>>106791240
Grow up, chud.
>>
>>106792473
With a high level language, there are compromises in the implementation. Things that the computer could do, but which they can't express (or at least not easily). These are inherent to making a high-level language: as a language designer, you have to choose what to exclude in order to make other aspects more tractable/comprehensible.
This wouldn't matter too much (you'd pick the set of features you want for a particular application, and the language based on that) except for ecosystem effects. In general, you also need to pick the language based on what libraries exist and what other programmers you can who can work with the toolset; that pushes people into picking languages non-optimally.
Wirth would have understood this well, and would have hated it despite being powerless to change it.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.