A little addon for trade skill queries made at the request of Dusith.
https://github.com/shirsig/profession_query
It will keep a list of known recipes for all professions for every character of yours individually which is updated every time you open a profession window.
Whenever someone whispers you "?patterns" (without the quotes) where patterns is a whitespace separated list of patterns it will respond with a whisper containing the recipes you have with all the patterns in their name or in the name of the profession each in the form of
"itemlink = reagent1itemlink x reagent1count reagent2itemlink x reagent2count ...".
If there are more than 3 matches it will still only show 3 and say how many have been omitted (otherwise you might get muted for spamming).