- or download this
$dom = qr{
[a-z] # starts with a letter
[a-z0-9-]* # zero or more letters, numbers, hyphens
}xi;
- or download this
$au = qr{ $dom \. # company
$dom \. # subdomain
...
\. ? # optional trailing dot
\b # word break
}xi;
- or download this
$com = qr{ $dom \. # company
com # gTLD
\. ? # optional trailing dot
\b # word break
}xi;
- or download this
my $domain = qr{ (?: # start of group
$dom \. # company subdomain
...
$au # .au pattern
) # end of group
}xi;
- or download this
use strict;
use warnings;
...
fail( $test_name );
}
}