Bot::BasicBot::Pluggable::Module::Assemble - IRC frontend to Regexp::Assemble
< you> bot: assemble ab+c ab+- a\w\d+ a\d+ < bot> a(?:\w?\d+|b+[-c])
This module is a frontend to the excellent Regexp::Assemble module which will let you get optimised regular expressions while chatting over IRC.
Regexp::Assemble
If the regular expressions you want to assemble do not contain whitespace, separate the regexp elements with any number of space charaters:
assemble Mr Mrs Ms Miss
to which the bot will reply:
(?:M(?:(?:is)?s|rs?))
If you want to use another delimiter (presumably because you have space characters in your regular expressions), simply attach it to the command:
assemble!YI SYLLABLE HNI!YI SYLLABLE MGUR
(?:YI SYLLABLE (?:MGUR|HNI))
Philippe Bruhat (BooK), <book@cpan.org>
<book@cpan.org>
Please report any bugs or feature requests to bug-bot-basicbot-pluggable-module-assemble@rt.cpan.org, or through the web interface at http://rt.cpan.org/. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-bot-basicbot-pluggable-module-assemble@rt.cpan.org
Copyright 2006-2010 Philippe Bruhat (BooK), All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Bot::BasicBot::Pluggable::Module::Assemble, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bot::BasicBot::Pluggable::Module::Assemble
CPAN shell
perl -MCPAN -e shell install Bot::BasicBot::Pluggable::Module::Assemble
For more information on module installation, please visit the detailed CPAN module installation guide.