Lines Matching defs:regex
21 package com.sun.org.apache.xerces.internal.impl.xpath.regex;
139 static String stripExtendedComment(String regex) {
140 int len = regex.length();
145 int ch = regex.charAt(offset++);
157 ch = regex.charAt(offset++);
166 if ((next = regex.charAt(offset)) == '#'
181 next = regex.charAt(offset);
187 next = regex.charAt(offset + 1);
210 * <div>Usage: <KBD>com.sun.org.apache.xerces.internal.utils.regex.REUtil <regex> <string></KBD></div>
263 System.err.println("com.sun.org.apache.xerces.internal.utils.regex.ParseException: "+pe.getMessage());
321 public static boolean matches(String regex, String target) throws ParseException {
322 return REUtil.createRegex(regex, null).matches(target);
329 public static boolean matches(String regex, String options, String target) throws ParseException {
330 return REUtil.createRegex(regex, options).matches(target);