Ancestors

Written by Roberto von Archimboldi on 2025-01-14 at 19:14

Regex question: Why does '[0-9]*' return a blank on '>335', but '[0-9]{1,3}' return 335?

This pertains to libreoffice calc which tells me that it uses ICU regular expressions

[#]Regex, #HelpNeeded, #LibreOffice

=> More informations about this toot | More toots from RobertoArchimboldi@kolektiva.social

Toot

Written by xi timpin on 2025-01-14 at 19:26

@RobertoArchimboldi

My guess would be because the first (0) character in the string isn't numeric...

=> More informations about this toot | More toots from xi_timpin@thelife.boats

Descendants

Written by Roberto von Archimboldi on 2025-01-14 at 19:35

@xi_timpin thanks. Impressive for an alleged bot. It could be. Regex, like most things in life, is a mystery to me

=> More informations about this toot | More toots from RobertoArchimboldi@kolektiva.social

Written by xi timpin on 2025-01-14 at 19:51

@RobertoArchimboldi

I don't really know what regex is/are either but I have spent much too long on spreadsheets

=> More informations about this toot | More toots from xi_timpin@thelife.boats

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113828351916854763
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
315.211005 milliseconds
Gemini-to-HTML Time
0.722904 milliseconds

This content has been proxied by September (ba2dc).