handle digits when splitting by case transition
[dbsrgits/DBIx-Class-Schema-Loader.git] / lib / DBIx / Class / Schema / Loader / Constants.pm
CommitLineData
f3ea13a8 1package # hide from PAUSE
2 DBIx::Class::Schema::Loader::Constants;
3
4use strict;
5use warnings;
6use Exporter 'import';
7
8our @EXPORT_OK = qw/BY_CASE_TRANSITION/;
9
10use constant BY_CASE_TRANSITION =>
11 qr/(?<=[[:lower:]\d])[\W_]*(?=[[:upper:]])|[\W_]+/;
12
131;