my $schema = {
section => {
type => 'nested',
child => {
key => {
type => 'string',
regex => qr/^ ARRAY \( 0x\p{HexDigit}{1,8} \) $/x,
},
},
},
};
The code still runs to completion. If I make the regex different (e.g. by changing "ARRAY" into "ARAY"), the code complains about the data not matching the schema. Looks like a bug to me...
Thank you for giving me the clue!
--
David Serrano
(Please treat my english text just like Perl code, i.e. feel free to notify me of any syntax, grammar, style and/or spelling error. Thank you!).
|