- or download this
#!/usr/bin/perl
use strict;
...
my $yaml = LoadFile( 'test-re.yaml' );
print Dumper($yaml->{patterns}), "\n";
- or download this
---
patterns:
- !!perl/regexp (?^i:^foo.*bar.*baz)
- !!perl/regexp ^quux$
- or download this
$VAR1 = [
qr/(?^:(?^i:^foo.*bar.*baz))/,
qr/(?^:^quux$)/
];
- or download this
$VAR1 = [
qr/(?^ui:^foo.*bar.*baz)/,
qr/(?^u:^quux$)/
];