Gx - shortcut to Regex::Genex strings, regex, rx_string, str_count
Import the functions here and re-exports them for good measure
perl -MGx -le 'print strings(qr/^a(b|c){2,4}/);
NOTE: This file is not installed by default. It can only be installed manually as a convenience to local users so don't it in anything other than throw away code. Most importantly, only use the Regexp::Genex name space in public (I don't have any claim to Gx...)
To install Regexp::Genex, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Regexp::Genex
CPAN shell
perl -MCPAN -e shell install Regexp::Genex
For more information on module installation, please visit the detailed CPAN module installation guide.