org.beangle.commons.regex
AntPattern implementation for Ant-style path patterns. Examples are provided below.
Part of this mapping code has been kindly borrowed from Apache Ant.
The mapping matches URLs using the following rules:
Some examples:
com/t?st.jsp
com/test.jsp
com/tast.jsp
com/txst.jsp
com/*sp
.jsp
com
org/beangle/**/*.jsp
com/**/test.jsp
test.jsp
org/beangle
org/**/servlet/bla.jsp
org/beangle/servlet/bla.jsp
org/beangle/testing/servlet/bla.jsp
org/servlet/bla.jsp
3.1.0
AntPattern implementation for Ant-style path patterns. Examples are provided below.
Part of this mapping code has been kindly borrowed from Apache Ant.
The mapping matches URLs using the following rules:
Some examples:
com/t?st.jsp
- matchescom/test.jsp
but alsocom/tast.jsp
orcom/txst.jsp
com/*sp
- matches all.jsp
files in thecom
directoryorg/beangle/**/*.jsp
- matches all.jsp
files underneathcom/**/test.jsp
- matches alltest.jsp
files underneath thecom
path theorg/beangle
pathorg/**/servlet/bla.jsp
- matchesorg/beangle/servlet/bla.jsp
but alsoorg/beangle/testing/servlet/bla.jsp
andorg/servlet/bla.jsp
3.1.0