Re: decimal -> Binary
Aristotle Pagaltzis <[email protected]> Fri, 18 Nov 2011 21:41:43 +0100
| Newsgroups | gmane.comp.lang.perl.fun |
|---|---|
| Message-ID | <[email protected]> |
* Ronald J Kimball <[email protected]> [2011-11-16 21:50]: > It is greedy, but the important thing to remember is that the regular > expression engine will find the longest *leftmost* match. To put that a third way: the engine will match at the first possible location, and will make the match as long as possible at that location.