摘要: public class ChineseString { public static class ChineseSpell { /// summary> /// 汉字拼音首字母列表 本列表包含了20902个汉字,用于配合 GetChineseSpell 函数使用,本表收录的字符的Unicode编码范围为19968至40869 /// /summary> private static string strChineseFirstPY = "YDYQS... 阅读全文
posted @ 2012-08-13 17:27 晓风拂月 阅读(561) 评论(0) 推荐(0) 编辑
摘要: highlight: function(value, term) {return value.replace(new RegExp("(?![^&;]+;)(?!<[^<>]*)(" + term.replace(/([\^\$\(\)\[\]\{\}\*\.\+\?\|\\])/gi, "\\$1") + ")(?![^<>]*>)(?![^&;]+;)", "gi"), "<strong style='color:red'> 阅读全文
posted @ 2012-08-13 17:22 晓风拂月 阅读(697) 评论(1) 推荐(0) 编辑