Timeline for How does one use regex to check input between 0-5 in bash
Current License: CC BY-SA 4.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 8, 2023 at 12:24 | comment | added | terdon♦ |
And you don't want \b there, even if the bash regex flavor supported it, since that would consider something like foo 5 bar valid input. Instead, you want ^ and $ to make sure you are testing the entire string.
|
|
| Oct 7, 2023 at 23:16 | history | became hot network question | |||
| Oct 7, 2023 at 7:09 | answer | added | Stéphane Chazelas | timeline score: 7 | |
| Oct 7, 2023 at 0:58 | comment | added | steeldriver | Related: bash conditional expression and backslash escaping | |
| Oct 7, 2023 at 0:57 | answer | added | jesse_b | timeline score: 1 | |
| Oct 7, 2023 at 0:55 | history | edited | preetam | CC BY-SA 4.0 |
more tests
|
| S Oct 7, 2023 at 0:48 | review | First questions | |||
| Oct 7, 2023 at 7:12 | |||||
| S Oct 7, 2023 at 0:48 | history | asked | preetam | CC BY-SA 4.0 |