Class Platform.JdkPatternCompiler

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private JdkPatternCompiler()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      CommonPattern compile​(java.lang.String pattern)
      Compiles the given pattern.
      boolean isPcreLike()
      Returns true if the regex implementation behaves like Perl -- notably, by supporting possessive quantifiers but also being susceptible to catastrophic backtracking.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JdkPatternCompiler

        private JdkPatternCompiler()
    • Method Detail

      • isPcreLike

        public boolean isPcreLike()
        Description copied from interface: PatternCompiler
        Returns true if the regex implementation behaves like Perl -- notably, by supporting possessive quantifiers but also being susceptible to catastrophic backtracking.
        Specified by:
        isPcreLike in interface PatternCompiler