What's the difference to the JMeterParser? How about using the same implementation for this. You can create an AbstractParserContext (or whatever it will be named) and share the glob property with all parser contexts.