adding stateless/stateful versions of bounded and ranged munchars