Permalink
Browse files

make critic happy

  • Loading branch information...
1 parent bfbd79d commit 585c1b755c9d4841706ef90d9eda0eff7cbb6e00 @kentfredric kentfredric committed Apr 4, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/ELF/Extract/Sections/Scanner/Objdump.pm
@@ -197,7 +197,8 @@ They look like this:
=cut
has _offset_regex => ( isa => RegexpRef, ro, default => sub {
- return qr/\(File Offset:\s*(?<offset>0x[0-9a-f]+)\)/;
+ ## no critic (RegularExpressions::ProhibitEnumeratedClasses)
+ return qr/[(]File Offset:\s*(?<offset>0x[0-9a-f]+)[)]/;
}, );
=head2 -> _section_header_identifier : RegexpRef

0 comments on commit 585c1b7

Please sign in to comment.