Timeline for How can I print the longest sequence of lines featuring numbers smaller than a threshold?
Current License: CC BY-SA 4.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 4, 2024 at 12:24 | comment | added | aviro |
@694201970 I understand you want to use regex, and I can give you an answer based on regex, but maybe it's better you try to explain what would you expect your regex to work. Why ?:1 at the beginning? Why - at the end? Try to explain, and then we could tell you where you had you mistake. Also try to show this inside your own perl code.
|
|
| Jan 4, 2024 at 12:10 | comment | added | 69 420 1970 | i wanna use this ^(?:1\.\d{2}|[0-1]\.\d{2,20}|2\.00-)$ | |
| Jan 4, 2024 at 11:59 | comment | added | AdminBee |
@694201970 Well, if you look at the split call, there is one regex (albeit only to specify where to split into columns) ;)
|
|
| Jan 4, 2024 at 11:53 | comment | added | 69 420 1970 | Hmmm, without regex... Very interesting | |
| Jan 4, 2024 at 11:53 | vote | accept | 69 420 1970 | ||
| Jan 4, 2024 at 11:52 | history | edited | AdminBee | CC BY-SA 4.0 |
deleted 2 characters in body
|
| Jan 4, 2024 at 11:44 | history | answered | AdminBee | CC BY-SA 4.0 |