X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/73e97710413bba3ee2ae8baab0537fbd78811016..a35cd80abaa1a7679b091c8e1aa5180ad3d85bda:/examples/platforms/syscoord/generate_peer_platform.pl
diff --git a/examples/platforms/syscoord/generate_peer_platform.pl b/examples/platforms/syscoord/generate_peer_platform.pl
index 41be2505c7..d5eccd1866 100755
--- a/examples/platforms/syscoord/generate_peer_platform.pl
+++ b/examples/platforms/syscoord/generate_peer_platform.pl
@@ -1,6 +1,6 @@
#!/usr/bin/env perl
-# Copyright (c) 2011-2021. The SimGrid Team.
+# Copyright (c) 2011-2023. The SimGrid Team.
# All rights reserved.
# This program is free software; you can redistribute it and/or modify it
@@ -24,7 +24,7 @@ while(defined($line=))
{
next if ($line =~ /^#/);
# 278 7.2 -9.4 h 2.3
- if($line =~ /^([^ ]*) ([^ ]*) ([^ ]*) h ([^ ]*) *$/) {
+ if($line =~ /^(\S*) (\S*) (\S*) h (\S*) *$/) {
print "\t\t\n";
next;
}