01 2007 档案

摘要:只能输入数字:“^[0-9]*$”只能输入n位的数字:“^\d{n}$”只能输入至少n位数字:“^\d{n,}$”只能输入m-n位的数字:“^\d{m,n}$”只能输入零和非零开头的数字:“^(0|[1-9][0-9]*)$”只能输入有两位小数的正实数:“^[0-9]+(.[0-9]{2})?$”只能输入有1-3位小数的正实数:“^[0-9]+(.[0-9]{1,3})?$”只能输入非零的正整数:... 阅读全文

posted @ 2007-01-19 13:15 Leon0812 阅读(206) 评论(0) 推荐(0) |

摘要:using System;using System.Collections.Generic;using System.Text;using System.CodeDom.Compiler;using System.Reflection;using Microsoft.CSharp;namespace YYC{ /**//**/ /**//// /// 计算表达式的... 阅读全文

posted @ 2007-01-18 17:14 Leon0812 阅读(300) 评论(0) 推荐(0) |

博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3