Package org.mapfish.print
Class RegexpUtil
java.lang.Object
org.mapfish.print.RegexpUtil
Regular Expression utilities.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Pattern
compilePattern
(String expr) Convert a string to a Pattern object.
-
Method Details
-
compilePattern
Convert a string to a Pattern object.- If the host starts and ends with / then it is compiled as a regular expression
- Otherwise the hosts must exactly match
- Parameters:
expr
- the expression to compile
-