public static SmartsPattern create(String smarts, IChemObjectBuilder builder) throws IOException {
        return new SmartsPattern(smarts, builder);
    }
public static SmartsPattern create ( String smarts , IChemObjectBuilder builder ) throws IOException { return new SmartsPattern ( smarts , builder ) ; }
Create a {@link Pattern} that will match the given {@code smarts} query.

@param smarts  SMARTS pattern string
@param builder chem object builder used to create objects
@return a new pattern
@throws java.io.IOException the smarts could not be parsed