corda/test/regex/PikeVMOpcodes.java
Johannes Schindelin 53563c4f8e Regex: add support for character classes
Now we support regular expression patterns a la '[0-9]'.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2013-12-03 12:28:11 -06:00

33 lines
776 B
Java

/* Copyright (c) 2008-2013, Avian Contributors
Permission to use, copy, modify, and/or distribute this software
for any purpose with or without fee is hereby granted, provided
that the above copyright notice and this permission notice appear
in all copies.
There is NO WARRANTY for this software. See license.txt for
details. */
package regex;
/**
* Opcodes for the Pike VM.
* <p>
* See {@link PikeVM}.
* </p>
*
* @author Johannes Schindelin
*/
interface PikeVMOpcodes {
final static int DOT = -1;
final static int DOTALL = -2;
final static int CHARACTER_CLASS = -20;
final static int SAVE_OFFSET = -40;
final static int SPLIT = -50;
final static int SPLIT_JMP = -51; // this split prefers to jump
final static int JMP = -52;
}