Project

General

Profile

« Previous | Next » 

Revision 0b67cab8

Added by Marc Dequènes about 13 years ago

  • ID 0b67cab83c4ab4f6190a0f8955489efc02a60f0c

[evol] introduce Cyborg model and compute the name using the model and host fqdn

View differences:

lib/cyborghood/cyborg/botnet/conversation.rb
MaxLineLength = 16*1024
EOD = "\033[0J"
BOT_NAME_PATTERN = "[A-Z][a-zA-Z0-9]+"
BOT_NAME_PATTERN = "[A-Z][a-zA-Z0-9]+@[A-Z][a-zA-Z0-9.-]+"
ACTION_WORD_PATTERN = "[a-zA-Z0-9]+"
ACTION_PATTERN = "^(#{BOT_NAME_PATTERN})-([0-9]{4})-([0-9]{4})([+]?) (#{ACTION_WORD_PATTERN}( #{ACTION_WORD_PATTERN})*)$"
MAXIMUM_ERROR_COUNT = 3

Also available in: Unified diff