in reply to Matching string containing values between 0 and 100 inclusive
You already got some good Perl answers above, I'm just being a language nag: "values between 0 and 100 inclusive."
I know that construction is gaining popularity. Don't let it. If you're between your mom and your dad, can you also be inside them? Between has a meaning and it excludes "inclusive." "From 0 to 100" is fine and strongly implies "inclusive" and if it's not strong enough, you can tack some extras on that one. Leave "between" its dignity and exact meaning, inclusive.
|
|---|