asp.net正则表达式类的定义
2024-09-21 18:19:38
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();
}
}
最新文章
- Ubuntu里的若干问题解决方案
- Hibernate中两种删除用户的方式
- JS实现颜色值的转换
- Hibernate,Session方法使得java对象进入持久化状态;持久化对象特征
- DSP28377S - ADC学习编程笔记
- 转:GBDT(MART) 迭代决策树入门教程 | 简介
- cnblogs用户体验
- JMS消息头
- jQuery实现的分页功能,包括ajax请求,后台数据,有完整demo
- poj 1018 Communication System_贪心
- Thinkphp中field和getField
- Ubuntur软件安装
- (转)Sublime Text2 快捷键汇总
- loadrunner 脚本优化-参数化之Parameter List参数取值
- Zabbix监控Low level discovery实时监控网站URL状态
- ASP.NET页面之间传值的方式之QueryString(个人整理)
- nodejs server websocket
- nginx部署网站
- 关于在搜索栏的一些小bug
- PS快速制作下雪效果
热门文章
- Iphone控件大全
- @Transactional事务几点注意
- 用layer-list实现图片旋转叠加、错位叠加、阴影、按钮指示灯
- 第三方IDC性能测评主要指标
- 突发奇想之:源码及文档,文档包括源码---xml格式的源码,文档源码合并;注释文档化,文档代码化;
- oracle 索引的(创建、简介、技巧、怎样查看)
- ASP.NET中Session的个人浅谈
- Decode Ways leetcode java
- 判断小米 魅族 华为 系统 MIUI EMUI FLYME
- 【Spark】Spark Streaming + Kafka direct 的 offset 存入Zookeeper并重用