in reply to Minimizing the amount of place holders on long identical regex
#!/usr/bin/perl # https://perlmonks.org/?node_id=1217011 use strict; use warnings; my $sample = "041424344454647484940414"; my @odds = $sample =~ /(\d)\d/g; print @odds, "\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Minimizing the amount of place holders on long identical regex
by thanos1983 (Parson) on Jun 20, 2018 at 16:22 UTC | |
by jimpudar (Pilgrim) on Jun 20, 2018 at 16:40 UTC | |
by thanos1983 (Parson) on Jun 20, 2018 at 16:59 UTC | |
by ikegami (Patriarch) on Jun 20, 2018 at 17:20 UTC |