Re:Regex character "$" doesn't mean "end-of-string"
by toyg on Wednesday March 20, 2024 @08:36AM
(#39765572)
Yeah, omitting what is arguably the language most associated with regexes seems a bit of an oversight. I guess it shows how far off the radar Perl currently is.
[ Parent
| on HN ]
Re:Regex character "$" doesn't mean "end-of-string"
by TillE on Wednesday March 20, 2024 @12:02PM
(#39768418)
PHP uses PCRE, so it more or less serves as a stand-in for Perl in this case.
Re:Regex character "$" doesn't mean "end-of-string"
by gordonfish on Thursday March 21, 2024 @01:10AM
(#39775027)
Sort of, though PCRE is not a 100% replacement for regex in Perl proper; the former lacks some features of the latter.
Re:Regex character "$" doesn't mean "end-of-string"
by demondemidi on Wednesday March 20, 2024 @08:58AM
(#39765798)
Perl perfected the simplicity and flexibility of regex syntax from POSIX and it seems every other language after has just made it harder.
Re:Regex character "$" doesn't mean "end-of-string"
by gordonfish on Thursday March 21, 2024 @01:08AM
(#39775018)
> I guess it shows how far off the radar Perl currently is.
This is a serious misconception. Perl is far, far from dead. The constant activity of the gargantuan CPAN library more than demonstrates very much the opposite.
I would say Perl and its community has done quite well considering it hasn't had the same mountain of corporate funds thrust into it like more highlighted have. Mainstream ain't everything.
Re:Regex character "$" doesn't mean "end-of-string"
by saghm on Thursday March 21, 2024 @07:42AM
(#39777320)
I don't think "off the radar" means dead, but that people aren't generally aware of what's going on with it. I think this is actually pretty consistent with what you're saying; stuff is going on with it, but it's not on people's radar, so they don't realize it.
Re:Regex character "$" doesn't mean "end-of-string"
by gordonfish on Friday March 22, 2024 @12:07AM
(#39787384)
Fair enough point.