in reply to What's wrong with this regex

$_ = "1.2.17.3 Glückwunschschreiben 12 und"; say for /\G([0-9]+)[. ]/g; __END__ 1 2 17 3

Replies are listed 'Best First'.
Re^2: What's wrong with this regex
by bgu (Novice) on Mar 01, 2012 at 17:06 UTC
    good stuff, it works!