News for hackers. Stuff that matters.
Re:ArkRegex: A drop in replacement for new RegExp() with types by wredcoll on Tuesday October 28, 2025 @03:32PM (#45737841)
Can't you use tagged literals to do something similar?
Re:ArkRegex: A drop in replacement for new RegExp() with types by ssalbdivad on Tuesday October 28, 2025 @05:08PM (#45739216)
Not sure exactly what you mean by "something similar".
Re:ArkRegex: A drop in replacement for new RegExp() with types by wredcoll on Tuesday October 28, 2025 @08:21PM (#45741105)
The issue is not being able to type actual regexes: /\w+[a-z]$/ becomes something different when enclosed in double quotes.