亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? opcode.java

?? java實現正則表達式的代碼
?? JAVA
字號:
/* * $Id: OpCode.java,v 1.11 2003/11/07 20:16:25 dfs Exp $ * * ==================================================================== * The Apache Software License, Version 1.1 * * Copyright (c) 2000 The Apache Software Foundation.  All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright *    notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright *    notice, this list of conditions and the following disclaimer in *    the documentation and/or other materials provided with the *    distribution. * * 3. The end-user documentation included with the redistribution, *    if any, must include the following acknowledgment: *       "This product includes software developed by the *        Apache Software Foundation (http://www.apache.org/)." *    Alternately, this acknowledgment may appear in the software itself, *    if and wherever such third-party acknowledgments normally appear. * * 4. The names "Apache" and "Apache Software Foundation", "Jakarta-Oro"  *    must not be used to endorse or promote products derived from this *    software without prior written permission. For written *    permission, please contact apache@apache.org. * * 5. Products derived from this software may not be called "Apache"  *    or "Jakarta-Oro", nor may "Apache" or "Jakarta-Oro" appear in their  *    name, without prior written permission of the Apache Software Foundation. * * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * ==================================================================== * * This software consists of voluntary contributions made by many * individuals on behalf of the Apache Software Foundation.  For more * information on the Apache Software Foundation, please see * <http://www.apache.org/>. */package org.apache.oro.text.regex;/** * The OpCode class should not be instantiated.  It is a holder of various * constants and static methods pertaining to the manipulation of the  * op-codes used in a compiled regular expression. * * @version @version@ * @since 1.0 */final class OpCode {  private OpCode() { }  // Names, values, and descriptions of operators correspond to those of  // Perl regex bytecodes and for compatibility purposes are drawn from  // regcomp.h in the Perl source tree by Larry Wall.  static final char  // Has Operand   Meaning     _END     = 0,   // no       End of program.     _BOL     = 1,   // no       Match "" at beginning of line.     _MBOL    = 2,   // no       Same, assuming multiline.     _SBOL    = 3,   // no       Same, assuming singleline.     _EOL     = 4,   // no       Match "" at end of line.     _MEOL    = 5,   // no       Same, assuming multiline.     _SEOL    = 6,   // no       Same, assuming singleline.     _ANY     = 7,   // no       Match any one character (except newline).     _SANY    = 8,   // no       Match any one character.     _ANYOF   = 9,   // yes      Match character in (or not in) this class.     _CURLY   = 10,  // yes      Match this simple thing {n,m} times.     _CURLYX  = 11,  // yes      Match this complex thing {n,m} times.     _BRANCH  = 12,  // yes      Match this alternative, or the next...     _BACK    = 13,  // no       Match "", "next" ptr points backward.     _EXACTLY = 14,  // yes      Match this string (preceded by length).     _NOTHING = 15,  // no       Match empty string.     _STAR    = 16,  // yes      Match this (simple) thing 0 or more times.     _PLUS    = 17,  // yes      Match this (simple) thing 1 or more times.     _ALNUM   = 18,   // no       Match any word character     _NALNUM  = 19,   // no       Match any non-word character     _BOUND   = 20,  // no       Match "" at any word boundary     _NBOUND  = 21,  // no       Match "" at any word non-boundary     _SPACE   = 22,  // no       Match any whitespace character     _NSPACE  = 23,  // no       Match any non-whitespace character     _DIGIT   = 24,  // no       Match any numeric character     _NDIGIT  = 25,  // no       Match any non-numeric character     _REF     = 26,  // yes      Match some already matched string     _OPEN    = 27,  // yes      Mark this point in input as start of #n.     _CLOSE   = 28,  // yes      Analogous to OPEN.     _MINMOD  = 29,  // no       Next operator is not greedy.     _GBOL    = 30,  // no       Matches where last m//g left off.     _IFMATCH = 31,  // no       Succeeds if the following matches.     _UNLESSM = 32,  // no       Fails if the following matches.     _SUCCEED = 33,  // no       Return from a subroutine, basically.     _WHILEM  = 34,  // no       Do curly processing and see if rest matches.     _ANYOFUN = 35,  // yes      Match unicode character in this class.     _NANYOFUN= 36,  // yes      Match unicode character not in this class.     _RANGE   = 37,  // yes      Range flag in     // Change the names of these constants later to make it clear they    // are POSIX classes.     _ALPHA   = 38,     _BLANK   = 39,     _CNTRL   = 40,     _GRAPH   = 41,     _LOWER   = 42,     _PRINT   = 43,     _PUNCT   = 44,     _UPPER   = 45,     _XDIGIT  = 46,     _OPCODE  = 47,     _NOPCODE = 48,     _ONECHAR = 49,     _ALNUMC  = 50,     _ASCII   = 51;  // Lengths of the various operands.  static final int _operandLength[] = {    0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // OpCode 0-9    2, 2, 0, 0, 0, 0, 0, 0, 0, 0, // OpCode 10-19    0, 0, 0, 0, 0, 0, 1, 1, 1, 0, // OpCode 20-29    0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // OpCode 30-39    0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // OpCode 40-49     0, 0                          // OpCode 50-51   };  static final char _opType[] = {	_END, _BOL, _BOL, _BOL, _EOL, _EOL, _EOL, _ANY, _ANY, _ANYOF, _CURLY,	_CURLY, _BRANCH, _BACK, _EXACTLY, _NOTHING, _STAR, _PLUS, _ALNUM,	_NALNUM, _BOUND, _NBOUND, _SPACE, _NSPACE, _DIGIT, _NDIGIT, _REF,	_OPEN, _CLOSE, _MINMOD,	_BOL, _BRANCH, _BRANCH, _END, _WHILEM,	_ANYOFUN, _NANYOFUN, _RANGE, _ALPHA, _BLANK, _CNTRL, _GRAPH,	_LOWER, _PRINT, _PUNCT, _UPPER, _XDIGIT, _OPCODE, _NOPCODE,	_ONECHAR, _ALNUMC, _ASCII  };  static final char _opLengthVaries[] = {    _BRANCH, _BACK, _STAR, _PLUS, _CURLY, _CURLYX, _REF, _WHILEM  };  static final char _opLengthOne[] = {    _ANY, _SANY, _ANYOF, _ALNUM, _NALNUM, _SPACE, _NSPACE, _DIGIT, _NDIGIT,     _ANYOFUN, _NANYOFUN, _ALPHA, _BLANK, _CNTRL, _GRAPH, _LOWER, _PRINT,    _PUNCT, _UPPER, _XDIGIT, _OPCODE, _NOPCODE, _ONECHAR, _ALNUMC,    _ASCII  };  static final int  _NULL_OFFSET  = -1;  static final char _NULL_POINTER =  0;  static final int _getNextOffset(char[] program, int offset) {    return ((int)program[offset + 1]);   }  static final char _getArg1(char[] program, int offset) {    return program[offset + 2];   }  static final char _getArg2(char[] program, int offset) {    return program[offset + 3];   }  static final int _getOperand(int offset) {    return (offset + 2);  }  static final boolean _isInArray(char ch, char[] array, int start) {    while(start < array.length)      if(ch == array[start++])	return true;    return false;  }  static final int _getNextOperator(int offset) { return (offset + 2); }  static final int _getPrevOperator(int offset) { return (offset - 2); }  static final int _getNext(char[] program, int offset) {    int offs;    if(program == null)      return _NULL_OFFSET;    offs = _getNextOffset(program, offset);    if(offs == _NULL_POINTER)      return _NULL_OFFSET;    if(program[offset] == OpCode._BACK)      return (offset - offs);    return (offset + offs);  }  // doesn't really belong in this class, but we want Perl5Matcher not to  // depend on Perl5Compiler  // Matches Perl's definition of \w, which is different from [:alnum:]  static final boolean _isWordCharacter(char token) {    return (Character.isLetterOrDigit(token) || token == '_');  }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
美女久久久精品| 蜜桃av一区二区| 中文字幕欧美日本乱码一线二线| 91精品婷婷国产综合久久竹菊| 欧美在线观看一二区| 欧美综合天天夜夜久久| 欧美日韩免费观看一区三区| 欧美在线影院一区二区| 欧美区视频在线观看| 日韩一级完整毛片| 26uuu久久综合| 久久综合网色—综合色88| 久久久国际精品| 国产精品乱子久久久久| 亚洲精品中文在线| 三级成人在线视频| 紧缚捆绑精品一区二区| 成人18视频日本| 一本大道av一区二区在线播放| 色爱区综合激月婷婷| 欧美色综合久久| 日韩一区二区免费在线观看| 久久综合色之久久综合| 最新不卡av在线| 污片在线观看一区二区| 九九视频精品免费| gogogo免费视频观看亚洲一| 欧美日韩高清一区| 精品99一区二区| 日韩一区欧美一区| 美女久久久精品| 91网上在线视频| 欧美一级xxx| 亚洲欧美日韩久久| 久久99国产精品麻豆| 99久久精品免费看| 日韩精品资源二区在线| 亚洲欧美日韩国产中文在线| 久久国产综合精品| 欧美揉bbbbb揉bbbbb| 欧美国产精品v| 蜜桃传媒麻豆第一区在线观看| gogogo免费视频观看亚洲一| 日韩精品一区二区三区视频在线观看| 国产精品女人毛片| 久久不见久久见中文字幕免费| 色先锋aa成人| 日本一区二区三区在线不卡| 日韩精品视频网| 欧美性生活大片视频| 国产精品免费aⅴ片在线观看| 日韩不卡一区二区三区| 色婷婷av一区二区三区软件 | 亚洲国产综合色| 国内精品久久久久影院薰衣草| 欧美午夜精品理论片a级按摩| 国产午夜精品福利| 蜜桃av一区二区在线观看| 欧美性极品少妇| 国产精品卡一卡二卡三| 国产精品一区2区| 日韩三级视频在线看| 一区二区三区中文字幕精品精品| 国产成人午夜精品影院观看视频| 欧美一区二区三区精品| 亚洲电影一区二区| 一本大道久久a久久精品综合| 一区在线观看免费| 成人免费视频一区| 欧美国产一区视频在线观看| 国产揄拍国内精品对白| 精品少妇一区二区三区免费观看 | 蜜臀久久99精品久久久久宅男| 色噜噜狠狠成人中文综合| 国产精品乱码久久久久久| 国产精品一区二区在线播放| 26uuu国产一区二区三区| 久久国产尿小便嘘嘘| 日韩免费观看高清完整版| 麻豆专区一区二区三区四区五区| 制服丝袜av成人在线看| 日韩黄色小视频| 欧美一级在线视频| 国产综合色产在线精品| 久久久亚洲高清| 成人动漫在线一区| 亚洲三级在线免费观看| 在线精品视频小说1| 亚洲国产美女搞黄色| 91麻豆精品国产91久久久久| 蜜臀久久99精品久久久久久9| 日韩欧美激情四射| 高清国产一区二区| 亚洲激情综合网| 欧美不卡在线视频| 成人免费精品视频| 亚洲成人免费av| 久久久国际精品| 欧美性色综合网| 国产一区二区三区在线看麻豆| 亚洲国产精品二十页| 欧美性一级生活| 国模一区二区三区白浆| 亚洲视频在线观看一区| 欧美久久高跟鞋激| 国产电影一区二区三区| 一区二区三区四区视频精品免费 | 日韩毛片精品高清免费| 欧美午夜电影一区| 国产精品夜夜爽| 亚洲美女在线国产| 欧美一区二区高清| 成人午夜激情影院| 亚洲国产精品麻豆| 久久久av毛片精品| 欧美少妇xxx| 成人精品视频一区| 美女一区二区三区在线观看| 亚洲欧美中日韩| 日韩欧美一区在线| 在线视频欧美精品| 国产91精品欧美| 精品在线播放午夜| 一区二区三区高清不卡| 亚洲国产精品t66y| 欧美顶级少妇做爰| 91免费版在线| 国产精品77777竹菊影视小说| 亚洲777理论| 中文字幕一区二区三区在线不卡 | 色综合视频在线观看| 美腿丝袜在线亚洲一区| 亚洲综合精品久久| 国产精品久久久久久久久快鸭 | 91麻豆精品国产91久久久久| jiyouzz国产精品久久| 国内精品免费**视频| 成人免费的视频| 免费成人在线观看| 三级欧美在线一区| 亚洲国产aⅴ天堂久久| 亚洲激情图片小说视频| 国产精品理论片| 国产精品久久久久久久裸模| 国产三级三级三级精品8ⅰ区| 欧美一级二级三级乱码| 欧美一级理论性理论a| 在线不卡a资源高清| 欧美日韩在线三区| 欧美电影影音先锋| 欧美日韩成人在线一区| 欧美日韩成人在线| 欧美日本不卡视频| 91精品国产色综合久久| 91精品国产综合久久精品麻豆| 欧美另类z0zxhd电影| 欧美日本韩国一区| 日韩三级视频在线看| 欧美哺乳videos| 精品成人私密视频| 亚洲国产精品99久久久久久久久| 久久你懂得1024| 日本一区二区三区视频视频| 国产精品成人在线观看| 亚洲少妇30p| 亚洲二区在线观看| 日本午夜一区二区| 国模冰冰炮一区二区| av激情综合网| 在线观看av不卡| 日韩精品中文字幕一区二区三区 | 波多野结衣一区二区三区| 99在线热播精品免费| 欧美日韩国产精品成人| 欧美xxxx老人做受| **性色生活片久久毛片| 亚洲成在人线免费| 国产伦精品一区二区三区免费迷| 成人午夜精品在线| 777亚洲妇女| 久久精品夜夜夜夜久久| 亚洲精选视频免费看| 日产欧产美韩系列久久99| 成人深夜在线观看| 欧美色成人综合| 国产人成一区二区三区影院| 亚洲精品视频免费看| 美女视频第一区二区三区免费观看网站| 国产精品一二二区| 欧美精品色一区二区三区| 久久先锋影音av| 天天综合网天天综合色| 成人自拍视频在线| 91精品国产综合久久福利| 久久―日本道色综合久久| 亚洲国产成人porn| 国产白丝精品91爽爽久久| 欧美精品tushy高清| 中文字幕一区二区不卡| 九九久久精品视频|