Searched refs:RE (Results 1 - 7 of 7) sorted by relevance

/openjdk7/jaxp/src/com/sun/org/apache/regexp/internal/
H A DREUtil.java41 public static RE createRE(String expression, int matchFlags) throws RESyntaxException
45 return new RE(expression.substring(complexPrefix.length()), matchFlags);
47 return new RE(RE.simplePatternToFullRegularExpression(expression), matchFlags);
57 public static RE createRE(String expression) throws RESyntaxException
59 return createRE(expression, RE.MATCH_NORMAL);
H A DREProgram.java31 * @see RE
48 * @param instruction Character array with RE opcode instructions in it
58 * @param instruction Character array with RE opcode instructions in it
68 * @param instruction Character array with RE opcode instructions in it
80 * @return A copy of the current compiled RE program
119 if (lenInstruction >= RE.nodeSize && instruction[0 + RE.offsetOpcode] == RE.OP_BRANCH)
122 int next = instruction[0 + RE.offsetNext];
123 if (instruction[next + RE
[all...]
H A DREDebugCompiler.java40 hashOpcode.put(new Integer(RE.OP_RELUCTANTSTAR), "OP_RELUCTANTSTAR");
41 hashOpcode.put(new Integer(RE.OP_RELUCTANTPLUS), "OP_RELUCTANTPLUS");
42 hashOpcode.put(new Integer(RE.OP_RELUCTANTMAYBE), "OP_RELUCTANTMAYBE");
43 hashOpcode.put(new Integer(RE.OP_END), "OP_END");
44 hashOpcode.put(new Integer(RE.OP_BOL), "OP_BOL");
45 hashOpcode.put(new Integer(RE.OP_EOL), "OP_EOL");
46 hashOpcode.put(new Integer(RE.OP_ANY), "OP_ANY");
47 hashOpcode.put(new Integer(RE.OP_ANYOF), "OP_ANYOF");
48 hashOpcode.put(new Integer(RE.OP_BRANCH), "OP_BRANCH");
49 hashOpcode.put(new Integer(RE
[all...]
H A DRECompiler.java23 import com.sun.org.apache.regexp.internal.RE;
28 * regular expression program interpretable by the RE evaluator class. The 'recompile'
30 * with RE. For a description of the syntax accepted by RECompiler and what you can
31 * do with regular expressions, see the documentation for the RE matcher class.
33 * @see RE
42 char[] instruction; // The compiled RE 'program' instruction buffer
75 hashPOSIX.put("alnum", new Character(RE.POSIX_CLASS_ALNUM));
76 hashPOSIX.put("alpha", new Character(RE.POSIX_CLASS_ALPHA));
77 hashPOSIX.put("blank", new Character(RE.POSIX_CLASS_BLANK));
78 hashPOSIX.put("cntrl", new Character(RE
[all...]
H A DRETest.java117 RE r = new RE();
229 void showParens(RE r)
303 RE r = new RE("(a*)b");
308 r = (RE)new ObjectInputStream(in).readObject();
311 fail("Did not match 'aaab' with deserialized RE.");
322 r = (RE)new ObjectInputStream(in).readObject();
329 fail("Did not match 'aaab' with deserialized RE.");
336 r = new RE("ab
[all...]
H A DRE.java27 * RE is an efficient, lightweight regular expression evaluator/matcher
35 * To compile a regular expression (RE), you can simply construct an RE
39 * RE r = new RE("a*b");
43 * Once you have done this, you can call either of the RE.match methods to
60 * RE r = new RE("(a*)b"); // Compile expression
87 * The full regular expression syntax accepted by RE is described here:
230 * RE run
298 public class RE implements Serializable class in inherits:Serializable
424 public RE(String pattern) throws RESyntaxException method in class:RE
440 public RE(String pattern, int matchFlags) throws RESyntaxException method in class:RE
464 public RE(REProgram program, int matchFlags) method in class:RE
478 public RE(REProgram program) method in class:RE
487 public RE() method in class:RE
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/util/
H A DInstructionFinder.java235 RE regex = new RE(search);

Completed in 28 milliseconds