Fix filters documentation

Updates to the filters documentation so that it compiles...and works. I couldn't get the addPattern to work as is.