using System;
using System.Collections;
using System.Reflection;
using System.Reflection.Emit;
using System.Runtime;
using System.Runtime.Serialization; namespace System.Text.RegularExpressions
{
[Serializable]
public class Regex : ISerializable
{
protected internal Hashtable capnames;
protected internal Hashtable caps;
protected internal int capsize;
protected internal string[] capslist;
protected internal RegexRunnerFactory factory;
protected internal string pattern;
protected internal RegexOptions roptions;
[TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
protected Regex();
[TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
public Regex(string pattern);
protected Regex(SerializationInfo info, StreamingContext context);
[TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
public Regex(string pattern, RegexOptions options);
public static int CacheSize { get; set; }
public RegexOptions Options { get; }
public bool RightToLeft { get; }
[TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
public static void CompileToAssembly(RegexCompilationInfo[] regexinfos, AssemblyName assemblyname);
[TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
public static void CompileToAssembly(RegexCompilationInfo[] regexinfos, AssemblyName assemblyname, CustomAttributeBuilder[] attributes);
[TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
public static void CompileToAssembly(RegexCompilationInfo[] regexinfos, AssemblyName assemblyname, CustomAttributeBuilder[] attributes, string resourceFile);
public static string Escape(string str);
public string[] GetGroupNames();
public int[] GetGroupNumbers();
public string GroupNameFromNumber(int i);
public int GroupNumberFromName(string name);
protected void InitializeReferences();
public bool IsMatch(string input);
public bool IsMatch(string input, int startat);
public static bool IsMatch(string input, string pattern);
public static bool IsMatch(string input, string pattern, RegexOptions options);
public Match Match(string input);
public Match Match(string input, int startat);
public static Match Match(string input, string pattern);
public Match Match(string input, int beginning, int length);
public static Match Match(string input, string pattern, RegexOptions options);
public MatchCollection Matches(string input);
public MatchCollection Matches(string input, int startat);
public static MatchCollection Matches(string input, string pattern);
public static MatchCollection Matches(string input, string pattern, RegexOptions options);
public string Replace(string input, MatchEvaluator evaluator);
public string Replace(string input, string replacement);
public string Replace(string input, MatchEvaluator evaluator, int count);
public string Replace(string input, string replacement, int count);
public static string Replace(string input, string pattern, MatchEvaluator evaluator);
public static string Replace(string input, string pattern, string replacement);
public string Replace(string input, MatchEvaluator evaluator, int count, int startat);
public string Replace(string input, string replacement, int count, int startat);
public static string Replace(string input, string pattern, MatchEvaluator evaluator, RegexOptions options);
public static string Replace(string input, string pattern, string replacement, RegexOptions options);
public string[] Split(string input);
public string[] Split(string input, int count);
public static string[] Split(string input, string pattern);
public string[] Split(string input, int count, int startat);
public static string[] Split(string input, string pattern, RegexOptions options);
public override string ToString();
public static string Unescape(string str);
protected bool UseOptionC();
protected bool UseOptionR();
}
}

asp.net正则表达式类的定义的更多相关文章

  1. 基类中定义的虚函数在派生类中重新定义时,其函数原型,包括返回类型、函数名、参数个数、参数类型及参数的先后顺序,都必须与基类中的原型完全相同 but------> 可以返回派生类对象的引用或指针

      您查询的关键词是:c++primer习题15.25 以下是该网页在北京时间 2016年07月15日 02:57:08 的快照: 如果打开速度慢,可以尝试快速版:如果想更新或删除快照,可以投诉快照. ...

  2. 【转载】ASP.NET工具类:文件夹目录Directory操作工具类

    在ASP.NET开发网站的过程中,有时候会涉及到文件夹相关操作,如判断文件夹目录是否存在.删除文件夹目录.创建文件.删除文件.复制文件夹等等.这一批有关文件目录的操作可以通过Directory类.Fi ...

  3. 如何在ASP.NET MVC为Action定义筛选器

    在ASP.NET MVC中,经常会用到[Required]等特性,在MVC中,同样可以为Action自定义筛选器,来描述控制器所遵守的规则. 首先,我们在ASP.NET MVC项目中定义一个TestC ...

  4. ASP.NET MVC扩充数据模型-定义数据模型的Metadata

    ASP.NET MVC扩充数据模型-定义数据模型的Metadata Posted on 2018-07-12 by Wang Kepai     Rate this post 无论你是使用LINQ t ...

  5. DLL导出函数和类的定义区别 __declspec(dllexport)

    DLL导出函数和类的定义区别 __declspec(dllexport) 是有区别的, 请看 : //定义头文件的使用方,是导出还是导入 #if defined(_DLL_API) #ifndef D ...

  6. asp.net正则表达式提取网页网址、标题、图片实例以及过滤所有HTML标签实例

    无论你用什么语言,正则表达式的处理方法都是非常灵活.高效的,尤其是对某些字符串的抓取.过滤方面,更显其优势. 正则表达式的写法通常比较简单,几行短代码便能轻松完成看似很复杂的事情,更值得称赞的是,它的 ...

  7. python类的定义和使用

    python中类的声明使用关键词class,可以提供一个可选的父类或者说基类,如果没有合适的基类,那就用object作为基类. 定义格式: class 类名(object): "类的说明文档 ...

  8. java类中定义接口

    今天看到一个java类中定义了接口,写个备忘录,记录一下 package com.gxf.test; public class Test_interface { public interface sh ...

  9. JavaScript 类的定义和引用 JavaScript高级培训 自定义对象

    在Java语言中,我们可以定义自己的类,并根据这些类创建对象来使用,在Javascript中,我们也可以定义自己的类,例如定义User类.Hashtable类等等.     一,概述 在Java语言中 ...

随机推荐

  1. 解决ubuntu上在androidstudio中启动emulator闪退的问题(2)

    平台 Ubuntu14.04 64 现象 在AndrodStudio中点击模拟器的启动按钮后,模拟器界面弹出后,又立刻闪退. 解决 一.查看模拟器的信息 从上面可以看到模拟器的存放路径以及名称: 路径 ...

  2. LESS碎语

    推荐在Brackets安装"LESS AutoCompile"插件,当保存less文件会自动生成或保存相应的css文件. 变量 以@开头声明变量,并且对变量进行分类,比如颜色变量. ...

  3. 使用EF Code First搭建一个简易ASP.NET MVC网站,允许数据库迁移

    本篇使用EF Code First搭建一个简易ASP.NET MVC 4网站,并允许数据库迁移. 创建一个ASP.NET MVC 4 网站. 在Models文件夹内创建Person类. public ...

  4. uistatusBar 详解

    成功的方法: 方法1.隐藏应用程序内所有的StatusBar 第一步:在Info.plist,然后添加一个新的row,"View controller-based status bar ap ...

  5. C#编程(三十九)----------比较对象的相等性

    比较对象的相等性 需要理解对象相等的机制对逻辑表达式的编程很重要,另外,对实现运算符重载和类型强制转换也很重要. 对象相等的机制有所不同,这取决于比较的是引用类型还是值类型. 比较引用类型的相等性 S ...

  6. 用jquery实现的QQ邮箱里的多收件人选取及其他效果改进版

    我们先来看一下之前网上的版本效果: 发现很多bug且应用场景不一样,没办法只能自己写了 操作时 textarea  的值只是显示效果,实现的参数为 hidden 2017-04-25再次改进版与新版的 ...

  7. Java实现在线预览Word,Excel,Ppt文档

    效果图:

  8. 趣谈Java变量的可见性问题

    了解过多线程的我们,对synchorized,sleep和valatile都比较了解,但是当这三个名词和“Java变量得可见性”的话题联系在一起不知道大家是否还可以保持大脑清晰??? 最近看到一个关于 ...

  9. [转]最完美解决Nginx部署ThinkPHP项目的办法

    From : http://www.htmltec.com/archives/302 网上通用解决方法的配置如下: server { location / { index index.htm inde ...

  10. kafak-python使用补充

    kafka-python的心跳报文使用的是一个独立的线程,以固定的时间(heartbeat_interval_ms,默认是3000ms)间隔发生心跳信息 member_id唯一标识一个客户端的cons ...