Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.thaiopensource.datatype.xsd;
 
 
   private final Regex pattern;
 
   PatternRestrictDatatype(DatatypeBase baseRegex pattern) {
     super(base);
    this. = pattern;
  }
  boolean lexicallyAllows(String str) {
    return .matches(str) && super.lexicallyAllows(str);
  }
New to GrepCode? Check out our FAQ X