4 ms·
Yup. Regex is not a silver bullet for "match stuff", and it is wrong(ish) tool for following jobs: - context sensitive matching - matching with multi-char-exc
by nytgop77 5y ago
Yup. Regex is not a silver bullet for "match stuff", and it is wrong(ish) tool for following jobs:
- context sensitive matching
- matching with multi-char-exclusions
(regex is happy the most, when it's used to match "regular language" things)
- bear8642 5y agoKnow saying wrongish, but for multi-char-exclusion matching, can't you just do [^chars]? So to search for words without any vowels just 'grep [^aeiou]'?