<commit_before>package DDG::Spice::RedditSubSearch;
# ABSTRACT: Search for subreddits

use strict;
use DDG::Spice;

triggers startend => 'subreddit', 'r';

spice to => 'http://www.reddit.com/r/$1/about.json?jsonp=ddg_spice_reddit';
<commit_msg>Update trigger: 'r' -> '/r/'<commit_after>package DDG::Spice::RedditSubSearch;
# ABSTRACT: Search for subreddits

use strict;
use DDG::Spice;

triggers startend => 'subreddit', '/r/';

spice to => 'http://www.reddit.com/r/$1/about.json?jsonp=ddg_spice_reddit';

{'fraction_non_alphanumeric': 0.17623762376237623, 'fraction_numerical': 0.0039603960396039604, 'mean_word_length': 6.027777777777778, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '5878119', 'n_tokens_mistral': 203, 'n_tokens_neox': 204, 'n_words': 37}