| 1 | #!/usr/bin/perl | ||
| 2 | package SQL::QueryBuilder::Pretty::Database::ANSI::Quote; | ||
| 3 | 1 | ▶ | use base qw(SQL::QueryBuilder::Pretty::Rule); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 1 | our $VERSION = '0.01'; | |
| 9 | |||
| 10 | 1 | ▶ | use Carp qw(croak); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | 1 | ▶ | use Data::Dumper; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | |||
| 13 | 0 | ▶ | sub order { return 20 } |
|
Subroutine
order: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 14 | |||
| 15 | 0 | ▶ | sub match { |
|
Subroutine
match: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 16 | 0 | return qr/ | |
| 17 | \'\'(?!\') | ||
| 18 | | | ||
| 19 | \"\"(?!\"") | ||
| 20 | | | ||
| 21 | ".*?(?:(?:""){1,}"|(?<!["\\])"(?!")|\\"{2}) | ||
| 22 | | | ||
| 23 | `.*?(?:(?:``){1,}`|(?<![`\\])`(?!`)|\\`{2}) | ||
| 24 | | | ||
| 25 | '.*?(?:(?:''){1,}'|(?<!['\\])'(?!')|\\'{2}) | ||
| 26 | /x; | ||
| 27 | } | ||
| 28 | |||
| 29 | 1 | 1; | |
| 30 | __END__ | ||