<commit_before>__author__ = 'amarchaudhari'
import config
import requests
from will.plugin import WillPlugin
from will.decorators import respond_to, periodic, hear, randomly, route, rendered_template, require_settings


class BonjourPlugin(WillPlugin):

    @respond_to("switchport status (?P<server_id>.BWND*)")
    def say_bonjour_will(self, message,server_id):
        self.reply(message, "server online "+str(server_id))
<commit_msg>regex<commit_after>__author__ = 'amarchaudhari'
import config
import requests
from will.plugin import WillPlugin
from will.decorators import respond_to, periodic, hear, randomly, route, rendered_template, require_settings


class BonjourPlugin(WillPlugin):

    @respond_to("switchport status (?P<server_id>.[BWND]*)")
    def say_bonjour_will(self, message,server_id):
        self.reply(message, "server online "+str(server_id))

{'fraction_non_alphanumeric': 0.10138248847926268, 'fraction_numerical': 0.0, 'mean_word_length': 6.6902654867256635, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '279269', 'n_tokens_mistral': 265, 'n_tokens_neox': 258, 'n_words': 64}