NAME

Bot::BasicBot::Pluggable::Module::Assemble - IRC frontend to Regexp::Assemble

SYNOPSIS

< you> bot: assemble ab+c ab+- a\w\d+ a\d+
< bot> a(?:\w?\d+|b+[-c])

DESCRIPTION

This module is a frontend to the excellent Regexp::Assemble module which will let you get optimised regular expressions while chatting over IRC.

IRC USAGE

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

to which the bot will reply:

(?:YI SYLLABLE (?:MGUR|HNI))

AUTHOR

Philippe Bruhat (BooK), <book@cpan.org>

BUGS

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.

COPYRIGHT & LICENSE

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.