Re:Why Using .* in Regular Expressions Is Almost Never What ...
by hamburglar on Wednesday June 04, 2014 @01:32PM
(#7846932)
Wow, regex101.com is very nice, but I never would have noticed that debugger pane if I hadn't gone looking for it after your comment. Incredibly useful tool.
If you're looking for a match toward the end of a string, the .* version will be faster.