From perl5200delta#Diagnostics:
New Warnings
...
- Useless use of greediness modifier
This fixes [Perl #42957].
That links to perldiag which has:
- Useless use of greediness modifier '%c' in regex; marked by <-- HERE in m/%s/
(W regexp) You specified something like these:
The "?" and "+" don't have any effect, as they modify whether to match more or fewer when there is a choice, and by specifying to match exactly a given numer (sic), there is no room left for a choice.1. qr/a{3}?/ 2. qr/b{1,1}+/
I’m guessing that’s why the qualification “(redundant)” has been added to the entries for {n}? and {n}+ in perlre#Regular-Expressions?
| Athanasius <°(((>< contra mundum | Iustus alius egestas vitae, eros Piratica, |
In reply to Re^8: about style: use possessive or atomic?
by Athanasius
in thread about style: use possessive or atomic?
by rsFalse
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |