What did I miss?
The \. at the beginning of the pattern will match the first period that satisfies the pattern, it doesn't matter if the .* is greedy or not. You probably want /\.([^.]*)\z/ instead.
In reply to Re: Those greedy quantifiers!
by jwkrahn
in thread Those greedy quantifiers!
by Petras
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |