Class OptionalMetaPattern

java.lang.Object
org.apache.wicket.util.parse.metapattern.MetaPattern
org.apache.wicket.util.parse.metapattern.OptionalMetaPattern
All Implemented Interfaces:
Serializable, IClusterable

public final class OptionalMetaPattern extends MetaPattern
Makes any MetaPattern optional by enclosing the pattern in an optionality expression. The expression will be something equivalent to "(?:<pattern>)?".
Author:
Jonathan Locke
See Also: