/* * Karinto Library Project * * This software is distributed under a zlib-style license. * See license.txt for more information. */ using System; using System.Collections.Generic; using System.Text; using System.Text.RegularExpressions; namespace Karinto { public static class RegexSet { public static readonly Regex DecimalFloat = new Regex(@"([-+]?(?:\d+([\.,]\d*)?|([\.,]\d+))([eE][-+]?\d+)?)", RegexOptions.Compiled); public static readonly Regex HexInteger = new Regex(@"(?:((0x)?[\da-fA-F]+)|([\da-fA-F]+[hH]?)", RegexOptions.Compiled); } }