public static Condition withPostBodyContaining ( final Pattern pattern ) { return new Condition ( input -> input . getPostBody ( ) . matches ( pattern . pattern ( ) ) ) ; }
With post body matching pattern