Regex lookahead example not as stated in Camel 4th

gvim gvimrc at gmail.com
Wed Jun 19 15:02:32 BST 2013


On 19/06/13 14:52, Abigail wrote:

>
> That's not a lookahead assertion. This is:
>
>    $ perl -wE 'say for "0123456789" =~ /(?=(\d{3}))/g'
>    012
>    123
>    234
>    345
>    456
>    567
>    678
>    789
>    $
>
>

So there's a typo on p.248

gvim


More information about the london.pm mailing list