=head1 NAME Regexp::Whitespace - Whitespace insensitivity for regexes =head1 SYNOPSIS use Regexp::Whitespace (); my $re = Regexp::Whitespace->new( 'a b c', 'w' ); "a b\t\n c" =~ $re; # true =head1 DESCRIPTION THIS IS A pre-alpha RELEASE. This module implements a /w modifier for regexes that provides whitespace insensitivity. qr/a b c/w => qr/a\s+b\s+c/ =head2 LIMITATIONS SO FAR * only supports a global 'w' modifier by now * only exact pieces are handled by now (which means things like / [ x] /xw are not transformed into / (?: \s+ | [x] ) /x =head1 SEE ALSO perlre perlrecharclass (since Perl 5.10) =head1 BUGS Please report bugs via CPAN RT L or L. =head1 AUTHORS Adriano R. Ferreira, Eferreira@cpan.orgE =head1 COPYRIGHT AND LICENSE Copyright (C) 2008 by Adriano R. Ferreira This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.