Patternfrom a string you can use a
Pattern.compile(String). This allows to exchange the implementation and e.g. support a different pattern syntax such as the common glob-patterns while still providing a Java regex-
Pattern(and NOT some non-JDK object such as ORO or whatever).
Copyright © 2001–2014 mmm-Team. All rights reserved.